Skip to content
Commit 3b9f3f4a authored by Suprabh Shukla's avatar Suprabh Shukla
Browse files

Stop crashing the system on hitting the alarm limit

Exempting the system as a runtime restart is not clearly
better than extreme memory and computation pressure that can result from
the originating spam.
Callers in the system should guard against any spammy requests that lead
them to create a lot of alarms.

Test: Builds, boots and existing tests should pass.

atest CtsAlarmManagerTestCases:UidCapTests
atest FrameworksMockingServicesTests:AlarmManagerServiceTest

Bug: 234441463
Bug: 210386776
Bug: 237230851
Change-Id: Id5e94d44ac9ab24870a8213ec7583da0f592a5ff
parent 36d92a6f
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