Merge "Cancel dialog when TimePickerDialog's BUTTON_NEGATIVE is clicked" into lmp-mr1-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
015b9e56d4
@@ -134,6 +134,9 @@ public class TimePickerDialog extends AlertDialog implements OnClickListener,
|
||||
mTimePicker.getCurrentMinute());
|
||||
}
|
||||
break;
|
||||
case BUTTON_NEGATIVE:
|
||||
cancel();
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user