- Always activate the date when starting.

This commit is contained in:
Timothy Allen 2014-04-14 16:50:01 +02:00
parent 74994b99ee
commit db6c41fe72

View File

@ -165,12 +165,10 @@ public class MainActivity extends ActionBarActivity {
} }
}); });
// When debugging, activate the time when starting the app. // Activate the time when starting the app.
if (HYPOALARM_DEBUG) { DialogFragment alarmFragment = new TimePickerFragment();
DialogFragment alarmFragment = new TimePickerFragment(); alarmFragment.show(getActivity().getSupportFragmentManager(), "alarmTimePicker");
alarmFragment.show(getActivity().getSupportFragmentManager(), "alarmTimePicker"); alarmFragment.dismiss();
alarmFragment.dismiss();
}
// Set grace period // Set grace period
int defaultGrace = 60; int defaultGrace = 60;