Skip to content
Commit 92994ab7 authored by Suprabh Shukla's avatar Suprabh Shukla
Browse files

Refactored out app standby bucket reordering

Added a separate method to reorder alarms when app standby bucket
changes. Using rebatchAllAlarms was not ideal because it removes and
inserts all the alarms again, which may not be needed in most of the
cases relating to app standby.
Excluding allow_while_idle_alarms for now due
to a potential infinite loop when triggerAlarmsLocked and
adjustDeliveryTimes... would keep updating delivery times to values
unacceptable to each other.

Test: atest CtsAlarmManagerTestCases

Bug: 72660630
Bug: 72816079
Change-Id: I5406e14c12e18b50046ef9b39b7710ba9d0383b2
parent 23a7b8d3
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment