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
Loading
Please register or sign in to comment