diff options
author | Suprabh Shukla <suprabh@google.com> | 2019-10-30 18:56:44 -0700 |
---|---|---|
committer | Suprabh Shukla <suprabh@google.com> | 2019-11-04 11:59:36 -0800 |
commit | 0d51a8bcc0d5ac6dadbf242db5ce9404ca369fb2 (patch) | |
tree | 4a2229030a853f72f12eb172a62186f78c32504f /rs/java/android/renderscript/ProgramStore.java | |
parent | c4f77faf6e2ac5ef42ed95371cb2ef16030a2b02 (diff) |
Remove cancel listeners from pending intent alarms
The cancel listeners are created per PendingIntent instance and were
spamming the callback list stored inside PendingIntentRecord. In cases
where there is even a single live PendingIntent backed by this
PendingIntentRecord, all PendingIntent instances backed by this
PendingIntentRecord for which a callback was ever registered will leak.
Test: atest FrameworksMockingServicesTests:\
com.android.server.am.PendingIntentControllerTest
atest FrameworksMockingServicesTests:\
com.android.server.AlarmManagerServiceTest
Bug: 143091024
Change-Id: I65df12da0c437064e6e3719911926738c677c4eb
Diffstat (limited to 'rs/java/android/renderscript/ProgramStore.java')
0 files changed, 0 insertions, 0 deletions