Merge pull request #83 from sbosley/110908_sb_specific_time_checked

Specific time picker is always enabled on show
pull/14/head
Tim Su 13 years ago
commit a42e044b04

@ -157,7 +157,6 @@ public class HideUntilControlSet implements TaskEditControlSet,
private void setDate(CalendarDialog calendarDialog) {
customDate = calendarDialog.getCalendarDate();
boolean specificTime = existingDateHour != SPECIFIC_DATE;
if(existingDateHour < 0) {
existingDateHour = customDate.getHours();
existingDateMinutes= customDate.getMinutes();
@ -165,8 +164,7 @@ public class HideUntilControlSet implements TaskEditControlSet,
DeadlineTimePickerDialog timePicker = new DeadlineTimePickerDialog(activity, this,
existingDateHour, existingDateMinutes,
DateUtilities.is24HourFormat(activity),
specificTime);
DateUtilities.is24HourFormat(activity), true);
timePicker.setOnCancelListener(this);
timePicker.show();

@ -97,8 +97,7 @@ public class UrgencyControlSet implements TaskEditControlSet,
DeadlineTimePickerDialog timePicker = new DeadlineTimePickerDialog(activity,
UrgencyControlSet.this,
hour, minute,
DateUtilities.is24HourFormat(activity),
hasTime);
DateUtilities.is24HourFormat(activity), true);
timePicker.show();
}

Loading…
Cancel
Save