summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/Script.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-14 00:02:06 +0000
commitc8e1162852eb0ef6c0c8d9b113337b6166d1cb23 (patch)
tree1cf10710ae84d2cb326a85fff6fd285ba4faff5e /rs/java/android/renderscript/Script.java
parent903cd4ceed6719143cdc32e037b482c75a647937 (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 Merged-In: I65df12da0c437064e6e3719911926738c677c4eb (cherry picked from commit 0d51a8bcc0d5ac6dadbf242db5ce9404ca369fb2)
Diffstat (limited to 'rs/java/android/renderscript/Script.java')
0 files changed, 0 insertions, 0 deletions