commit | 0776b3b410c86dd8f739097d3c53bc3ec7d5679a | [log] [tgz] |
---|---|---|
author | Yurii Zubrytskyi <zyy@google.com> | Tue Oct 11 15:47:02 2022 -0700 |
committer | Yurii Zubrytskyi <zyy@google.com> | Tue Oct 11 15:47:02 2022 -0700 |
tree | 6099c404c156ddd0beae4ccadb8f5b936f05a180 | |
parent | ab3cb30aa0ea166c8bcb0531a5a47ca119a000c3 [diff] |
[sysui] Use weak reference for the listener in NavigationBarTransitions The listener is the only thing keeping objects alive after switching dark theme, bringing the number of Resources.Theme objects to thousands. Bug: 242005877 Test: manual, 10k theme switches to verify there's fewer active theme objects Change-Id: I59ff27dacd4bcad933341886c249074cf7df6dc9