summaryrefslogtreecommitdiff
path: root/libs/hwui/renderthread/RenderThread.cpp
diff options
context:
space:
mode:
authorLucas Dupin <dupin@google.com>2021-06-02 16:32:22 -0700
committerLucas Dupin <dupin@google.com>2021-06-02 16:32:22 -0700
commit8a40ff855b86bc86e23367017002289920855a4e (patch)
tree417c8593c3dfba6567ff121316cee6a82fd95b45 /libs/hwui/renderthread/RenderThread.cpp
parent79ce03a8de38ab84ae1e416ad30cfa628c38ee24 (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/RenderThread.cpp')
0 files changed, 0 insertions, 0 deletions