From 451dbb370ed51342813051d235bfed3af6984e50 Mon Sep 17 00:00:00 2001 From: ipcjs Date: Fri, 10 Oct 2014 09:20:28 +0800 Subject: [PATCH 1/2] bug --- .gitignore | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.gitignore b/.gitignore index 799e2fc..f2118bc 100644 --- a/.gitignore +++ b/.gitignore @@ -225,3 +225,5 @@ pip-log.txt #Mr Developer .mr.developer.cfg +datetimepicker-library/libs/ +datetimepicker-sample/libs/ From 8ca013e810efc03ff94e3679b04af7fb451cc485 Mon Sep 17 00:00:00 2001 From: ipcjs Date: Fri, 10 Oct 2014 09:48:08 +0800 Subject: [PATCH 2/2] fix cannot move when opend on single tap minute --- .../src/com/sleepbot/datetimepicker/time/TimePickerDialog.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/datetimepicker-library/src/com/sleepbot/datetimepicker/time/TimePickerDialog.java b/datetimepicker-library/src/com/sleepbot/datetimepicker/time/TimePickerDialog.java index 0939dab..f879da9 100644 --- a/datetimepicker-library/src/com/sleepbot/datetimepicker/time/TimePickerDialog.java +++ b/datetimepicker-library/src/com/sleepbot/datetimepicker/time/TimePickerDialog.java @@ -372,7 +372,7 @@ public void onValueSelected(int pickerIndex, int newValue, boolean autoAdvance) Utils.tryAccessibilityAnnounce(mTimePicker, announcement); } else if (pickerIndex == MINUTE_INDEX) { setMinute(newValue); - if(mCloseOnSingleTapMinute) { + if(mCloseOnSingleTapMinute && autoAdvance) { onDoneButtonClick(); } } else if (pickerIndex == AMPM_INDEX) {