summaryrefslogtreecommitdiff
path: root/api/api.go
diff options
context:
space:
mode:
author Winson Chung <winsonc@google.com> 2023-03-09 17:34:58 +0000
committer Winson Chung <winsonc@google.com> 2023-03-09 18:44:33 +0000
commit81d1f12f5b0e2fbf38b01cf8a06f81a42e722a01 (patch)
tree8e0c76beeb2b11280482e348d19f159e41c1ae0d /api/api.go
parentf07c2b4c12e229fb660666bd6526efab30f6415b (diff)
3/ Move wallpaper visibility listener to nav bar helper
- The bar transitions update based on the wallpaper visibility but this can be expensive to register/unregister frequently. Instead, pull the listener out to NavBarHelper and keep it registered across the bars (it's a no-op for taskbar currently) - We don't need the weak reference since nav bar helper is a singleton Bug: 219035565 Test: atest NavBarHelperTests Test: atest SystemUITests Change-Id: I4b93437abd5e404981f119916557776090223cda
Diffstat (limited to 'api/api.go')
0 files changed, 0 insertions, 0 deletions