summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramStore.java
diff options
context:
space:
mode:
authorSuprabh Shukla <suprabh@google.com>2019-10-30 18:56:44 -0700
committerSuprabh Shukla <suprabh@google.com>2019-11-04 11:59:36 -0800
commit0d51a8bcc0d5ac6dadbf242db5ce9404ca369fb2 (patch)
tree4a2229030a853f72f12eb172a62186f78c32504f /rs/java/android/renderscript/ProgramStore.java
parentc4f77faf6e2ac5ef42ed95371cb2ef16030a2b02 (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