summaryrefslogtreecommitdiff
path: root/libs/androidfw/StringPool.cpp
diff options
context:
space:
mode:
author Suprabh Shukla <suprabh@google.com> 2022-07-22 01:18:12 -0700
committer Suprabh Shukla <suprabh@google.com> 2022-07-26 02:53:19 -0700
commitca41ed611ac9c6584c6d5c38ae8428b8e4f3b135 (patch)
tree89c01da6783383a94ac8e43f094f36b2f5ac1c5e /libs/androidfw/StringPool.cpp
parent7d107143ed782de064ec5bcc36ecb1effa8040aa (diff)
Adding an API to cancel all alarms
In some cases, an app can lose access to the pending intents it used to set previous alarms. In the current state, such alarms can never be cancelled. This can be an issue because there is now a maximum limit to the number of concurrent alarms an app can set. An API to cancel all pending alarms set by the caller should help mitigate this. It should be noted that an API to query or retrieve all pending alarms is not straightforward with the current design. Test: atest CtsAlarmManagerTestCases:BasicApiTests Test: atest FrameworksMockingServicesTests:AlarmManagerServiceTest Bug: 182859584 Change-Id: If8f81f93838bf366887c63ae006f9291ee636f5c
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions