Skip to content
Commit 8a40ff85 authored by Lucas Dupin's avatar Lucas Dupin
Browse files

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
parent 79ce03a8
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment