summaryrefslogtreecommitdiff
path: root/api/api.go
diff options
context:
space:
mode:
author Yurii Zubrytskyi <zyy@google.com> 2022-10-11 15:47:02 -0700
committer Winson Chung <winsonc@google.com> 2023-03-09 17:29:20 +0000
commit749de2e17a16ba881b21924b847ce4b441ee34f5 (patch)
tree7c86fe81e3082286ee4041a1c2d97d7acee44d6a /api/api.go
parentb188d33eeca3f2718fbd69d2f1f48027d6ef4773 (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 (cherry picked from commit 0776b3b410c86dd8f739097d3c53bc3ec7d5679a)
Diffstat (limited to 'api/api.go')
0 files changed, 0 insertions, 0 deletions