diff options
author | Suprabh Shukla <suprabh@google.com> | 2019-05-31 15:57:05 -0700 |
---|---|---|
committer | Suprabh Shukla <suprabh@google.com> | 2019-06-05 15:30:29 -0700 |
commit | faa198b3c5a4159022ca76daab10d2d61c79a5ef (patch) | |
tree | e394306c07c642425412d50b12873598fdd36708 /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | 1f915b0d3347404c6a2edca01c78294fe2351c6c (diff) |
Remove alarms of cancelled pending intents
When a pending intent is cancelled, the alarm is essentially defunct.
Keeping around this alarm takes unneeded memory and unreasonably counts
towards the per-uid cap of pending alarms.
Test: Unit test:
atest com.android.server.AlarmManagerServiceTest
Existing CTS:
atest CtsAlarmManagerTestCases
Bug: 132379078
Change-Id: I4c6d59d9ac79708d8daf40657e9773c715271f1e
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions