Skip to content
Commit faa198b3 authored by Suprabh Shukla's avatar Suprabh Shukla
Browse files

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
parent 1f915b0d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment