mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-03-04 09:56:49 +00:00
[automerger] Switch the status bar color earlier in the all apps transition am: 3051dbabe7
Change-Id: I12f952a555287173bc7ad5e3acca3aaad2b6a1df
This commit is contained in:
@@ -283,7 +283,9 @@ public class AllAppsTransitionController implements TouchController, SwipeDetect
|
||||
}
|
||||
|
||||
// Use a light system UI (dark icons) if all apps is behind at least half of the status bar.
|
||||
boolean forceChange = shift <= mStatusBarHeight / 2;
|
||||
boolean forceChange = FeatureFlags.LAUNCHER3_GRADIENT_ALL_APPS ?
|
||||
shift <= mShiftRange / 4 :
|
||||
shift <= mStatusBarHeight / 2;
|
||||
if (forceChange) {
|
||||
mLauncher.getSystemUiController().updateUiState(
|
||||
SystemUiController.UI_STATE_ALL_APPS, !mIsDarkTheme);
|
||||
|
||||
Reference in New Issue
Block a user