Fix toggling of AM/PM of TimePicker using hardware keyboard.
Set AM/PM mode before setting hour in TextInputTimePickerView. This is needed so we know exactly which it is when we are using 12 hour clock. Not setting it early was causing TextInputTimePickerView to update TimePicker with the hour that was not offset correctly based on AM/PM state. Test: existing tests caught this - TimePickerTest#testKeyboardInputModeClockAmPm verified locally that this test now passes. Bug: 35262830 Change-Id: I7e912320cb5a72c5d9d4e80dc0b42deb651f2636
Loading
Please register or sign in to comment