diff options
author | Lucas Dupin <dupin@google.com> | 2021-06-02 16:32:22 -0700 |
---|---|---|
committer | Lucas Dupin <dupin@google.com> | 2021-06-02 16:32:22 -0700 |
commit | 8a40ff855b86bc86e23367017002289920855a4e (patch) | |
tree | 417c8593c3dfba6567ff121316cee6a82fd95b45 /libs/hwui/renderthread/CacheManager.cpp | |
parent | 79ce03a8de38ab84ae1e416ad30cfa628c38ee24 (diff) |
Do not re-inflate QS and SB when CONFIG_UI_MODE
FragmentHostManager has 2 clients:
- CollapsedStatusBarFragment
- QSFragment
None of them respond to dark theme changes because:
- SB has its own color management queue
- QSFragment always has dark theme in S
This drastically reduces the amount of jank when siwtching themes,
because tiles won't be re-created anymore.
Test: toggle dark theme from QS, open various apps
Test: toggle dark theme from Settings app
Bug: 185403130
Change-Id: I95ed3e586050d12d571877d0a058714fb011b6fc
Diffstat (limited to 'libs/hwui/renderthread/CacheManager.cpp')
0 files changed, 0 insertions, 0 deletions