From db6c41fe7222c2593d3c79529d66062861e24a3f Mon Sep 17 00:00:00 2001 From: tim Date: Mon, 14 Apr 2014 16:50:01 +0200 Subject: [PATCH] - Always activate the date when starting. --- .../java/za/org/treehouse/hypoalarm/MainActivity.java | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/HypoAlarm/src/main/java/za/org/treehouse/hypoalarm/MainActivity.java b/HypoAlarm/src/main/java/za/org/treehouse/hypoalarm/MainActivity.java index c40e8f6..931ceb4 100644 --- a/HypoAlarm/src/main/java/za/org/treehouse/hypoalarm/MainActivity.java +++ b/HypoAlarm/src/main/java/za/org/treehouse/hypoalarm/MainActivity.java @@ -165,12 +165,10 @@ public class MainActivity extends ActionBarActivity { } }); - // When debugging, activate the time when starting the app. - if (HYPOALARM_DEBUG) { - DialogFragment alarmFragment = new TimePickerFragment(); - alarmFragment.show(getActivity().getSupportFragmentManager(), "alarmTimePicker"); - alarmFragment.dismiss(); - } + // Activate the time when starting the app. + DialogFragment alarmFragment = new TimePickerFragment(); + alarmFragment.show(getActivity().getSupportFragmentManager(), "alarmTimePicker"); + alarmFragment.dismiss(); // Set grace period int defaultGrace = 60;