summaryrefslogtreecommitdiff
path: root/libs/androidfw/Util.cpp
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-06-28 23:49:05 +0000
commit87fd506129631225581de641c4dd9956a15aa0ab (patch)
treefefa420972692df24c56c75d96d9593fed4d79e5 /libs/androidfw/Util.cpp
parent393f58bfde9ed989336d6e2825c5a53bd3792088 (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
Diffstat (limited to 'libs/androidfw/Util.cpp')
0 files changed, 0 insertions, 0 deletions