summaryrefslogtreecommitdiff
path: root/libs/androidfw/StringPool.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-29 23:01:48 +0000
commit2100d275644575214a8e74457bb973b44a3bacff (patch)
tree637ad26203bd36740c8d6793eda0d29b005923c6 /libs/androidfw/StringPool.cpp
parentbf0730ed6828523c2445c20e3a87b2ce324aa502 (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/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions