summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorWinson Chung <winsonc@google.com>2019-09-25 14:44:05 -0700
committerWinson Chung <winsonc@google.com>2019-09-25 22:00:05 +0000
commitefaacc3f9b0f4d7290f4f86c0232e471d6665cb2 (patch)
treec40f09667d6921183277439f2d5ee21318fac309 /tools/aapt2/java/JavaClassGenerator_test.cpp
parenta886cd3fd9cfdabd1f0b5a6ab6063d046dd385c3 (diff)
Fix a couple leaks in SystemUI
Changing the navigation mode causes an overlay broadcast which causes all the fragments in systemui to be recreated. This could result in leaks in the status bar icons (lots of bitmaps) and also the sampling callbacks from SurfaceFlinger. - Always stop the sampling listener when the mode changes - Always unregister from device config changes in the QS header Bug: 141637942 Test: Switch navigation modes a couple times, take hprof dump and verify there aren't leaking classes or bitmaps Change-Id: Id3a28031e2eeef1dc45ed0f4b028771d89e24610
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions