summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorKevin Han <kevhan@google.com>2020-02-10 15:18:46 -0800
committerKevin Han <kevhan@google.com>2020-02-10 15:18:46 -0800
commitd5ca459e979ab4df7d3036569e808665665be60b (patch)
tree929b32bfdd2406a928ad1fd14b1d5ea1cd3d2675 /tools/aapt2/java/JavaClassGenerator_test.cpp
parent4eb831e64b74258f72c6628272d1e9142382bc96 (diff)
Call entry clean up when removing pending entries
Classes that hooked on to NotificationEntryManager to add more state would leak the entries because NotificationEntryManager wouldn't inform them to clean up their state if NEM ends up removing a notification that's pending inflation. This is because the notification isn't technically "active" yet based off NEM's pipeline. We add this hook to correct this. This is not an issue in NotifCollection as it is unrelated to the inflation pipeline and instantly considers an added notification "active" when it's posted, so the removal/clean up callbacks are actually called when it's removed shortly after posting. Bug: 149212504 Bug: 149205483 Test: add + cancel notifications in Notify.apk adb shell dumpheap com.android.systemui Observe in heap dump that NotificationEntry's match up Change-Id: I9e41399dd9ee0de853f39a47876d8c176a8d8b21
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions