Skip to content
Commit 75edab1e authored by Suprabh Shukla's avatar Suprabh Shukla
Browse files

Throttling alarms for a package per its standby bucket

Packages can now get to run alarms only if a certain amount of time has
elapsed since they last go to do so. The time interval is decided based
on the current app standby bucket the package is in. So, frequently used
apps get to run alarms more frequently than the rarely used ones

Test: atest CtsAlarmManagerTestCases
or
atest CtsAlarmManagerTestCases:AppStandbyTests

Bug: 72660630
Change-Id: Ib89c81e8166eab4c985152e01178da61f8a880f7
parent 618e8602
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