diff options
| author | 2023-02-14 14:18:17 -0500 | |
|---|---|---|
| committer | 2023-02-14 14:53:51 -0500 | |
| commit | e65d494a115a86d4b6c5b108e73c03944e7b70d7 (patch) | |
| tree | 9a316b14a9f5330e3928ef5b43a02c90b1aba4a3 /api/api.go | |
| parent | 7bf32dfd3f9cb1962c368d6a0198c575b8f8464e (diff) | |
Fix performance regressions
* Have the statusIcons always added to StatusBarIconController
(attach/dettach) instead of when visibility changes. That prevents
readding views and remeasuring.
* Introduce a specific variable for edit mode to control visibility.
This makes it so that we don't have to rely on alpha (and it doesn't
change with QS expansion).
Fixes: 266444213
Fixes: 265104777
Test: perfetto trace
Test: atest sysui-jank-custom
Test: atest LargeScreenShadeHeaderControllerTest
Change-Id: Ib8c3d1bcb1fb59f55c1c97a5b3966a2892b3f4b1
Diffstat (limited to 'api/api.go')
0 files changed, 0 insertions, 0 deletions