diff options
author | Beverly <beverlyt@google.com> | 2021-03-18 10:28:45 -0400 |
---|---|---|
committer | Beverly <beverlyt@google.com> | 2021-03-22 10:29:54 -0400 |
commit | 8652e483b098203cda9af80124592db64dd773af (patch) | |
tree | ba7cbb2697ef3d63f218a88462f9bcc2cbb9ce85 /rs/java/android/renderscript/ProgramFragmentFixedFunction.java | |
parent | 1ee4a4ecbae0b4e171027c75adde97b90bc947a5 (diff) |
Next alarm is definitive info from clock
Even if the next alarm is further in the future than the alarm on the
ScheduleCalendar, update the next alarm b/c this means that our current
nextAlarm is old info
Test: atest ScheduleCalendarTest
Test: manual
1. enable DND that ends at alarm
2. create an alarm that goes off in 5 min
3. change alarm to go off in 11 min
4. in the 6 minute difference, notice that DND is still on and didn't
end earlier than execpted.
Fixes: 181665547
Change-Id: Ieb2fc7269c4a9b1bc109941d16ce191012d338c4
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions