summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorBeverly <beverlyt@google.com>2020-05-13 12:30:20 -0400
committerBeverly <beverlyt@google.com>2020-05-13 15:51:31 -0400
commitcb5e62cc500a5a1b770e2a48b6e5deacd0134db9 (patch)
tree123fef7ceefb00f0de878c67360dedae8e681b71 /tools/aapt2/java/JavaClassGenerator_test.cpp
parent18fb866de9a1287721f5562d1e7b165c3fb07110 (diff)
Don't readd pending notifs to NEM's allNotifs list
Instead, we reuse the pending notification entry so we don't unnecessarily create and retain mutliple notification entries for the same notification. Additionally: - dump all notifications kept by NEM in a dumpsys/bugreport - move mLeakDetector.trackGarbage(entry) to after NEM.listeners are told to remove their references to the entry - trackGarbage(entry) on pending notifications that are removed Test: atest NotificationEntryManagerTest Test: adb shell dumpsys activity service com.android.systemui/.SystemUIService dependency DumpController NotificationEntryManager Test: check memory usage of com.android.systemui before and after running NexusLauncherTests (observe view count doesn't incrementally get worse) Fixes: 156301621 Change-Id: Ia6d6dbc442fe28832f1ed70b35ca64278a871237
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions