summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/Program.java
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 16:36:44 +0000
commit00cfbeb7e5d6a90953e206070f6a2862b88a89b6 (patch)
tree739ad89fcfc3466f7450be75405506054f378158 /rs/java/android/renderscript/Program.java
parent9c743a222d14cd34a41542208abec95d6a228f37 (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 Merged-In: Ic389a559a3d430af495365102854d531f7d1966d
Diffstat (limited to 'rs/java/android/renderscript/Program.java')
0 files changed, 0 insertions, 0 deletions