summaryrefslogtreecommitdiff
path: root/api/api.go
diff options
context:
space:
mode:
author Suprabh Shukla <suprabh@google.com> 2022-06-27 14:01:16 -0700
committer Suprabh Shukla <suprabh@google.com> 2022-07-20 07:02:12 +0000
commit909251a2caf1a8734c7e3a43794399ab3d15ac76 (patch)
treeabcf70db43035c68e65b78f92887e8bf36f4ad8b /api/api.go
parenta6d920e3d601ef62a7fd3fc79294c63d3394044c (diff)
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 Change-Id: Id5e94d44ac9ab24870a8213ec7583da0f592a5ff (cherry picked from commit 3b9f3f4a0f5a661be65e287996cae8a4481a1453) Merged-In: Id5e94d44ac9ab24870a8213ec7583da0f592a5ff (cherry picked from commit c010da3a4649a02afe256cbf6dad475c2278059b)
Diffstat (limited to 'api/api.go')
0 files changed, 0 insertions, 0 deletions