summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorWinson Chung <winsonc@google.com>2019-09-25 16:50:05 -0700
committerWinson Chung <winsonc@google.com>2019-09-26 02:31:27 +0000
commit52d938d31f9ed1d96f3884345291089a9b7c3585 (patch)
tree97eef682ee8ec203e85cf2c4ebde4bb51f310af3 /tools/aapt2/java/JavaClassGenerator_test.cpp
parentd9f17f81a5431ec2306ef8d2f1d54e7e865b6e02 (diff)
Fix nav bar leak in SystemUI
- Ensure that the composition sampling listener is destroyed when the nav bar is destroyed instead of waiting for the finalize callback. That callback would never be made since the sampling listener has a reference to the outer class and has a strong ref from SF, and the other class has itself a reference to the listener. - Always unregister the nav bar fragment from the mode change callbacks Bug: 141473489 Test: Switch navigation modes a couple times, take hprof dump and verify there aren't leaking classes Change-Id: Ic389a559a3d430af495365102854d531f7d1966d
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions