Skip to content
Commit 0e49b64f authored by Suprabh Shukla's avatar Suprabh Shukla
Browse files

Adding a per-uid cap on concurrent alarms

Reasonably, it is seen that most apps have a low number of alarms inside
alarm manager at any given time. In rare cases, app bugs can lead to
spam resulting in memory and computation pressure on the system.

(Also, removing some unused code)

Test: atest FrameworksMockingServicesTests:AlarmManagerServiceTest
atest CtsAlarmManagerTestCases

Bug: 31832077
Change-Id: Ie537e644619a787b7a730dc567aafa0258ae57f0
parent 47bfb774
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