summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramFragmentFixedFunction.java
diff options
context:
space:
mode:
authorAurimas Liutikas <aurimas@google.com>2017-02-22 16:56:43 -0800
committerAurimas Liutikas <aurimas@google.com>2017-02-22 17:00:30 -0800
commitc51c5f29fb078fa7343f513299a78592a5ec2420 (patch)
tree7c02bcf7c81dfa8f6f074158f8d92baeedb68857 /rs/java/android/renderscript/ProgramFragmentFixedFunction.java
parentab7bc7afd7a5f9a994e55402795590df57fcb0bf (diff)
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
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions