Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit aa392fc1 authored by Adam Cohen's avatar Adam Cohen
Browse files

[automerger] Switch the status bar color earlier in the all apps transition...

[automerger] Switch the status bar color earlier in the all apps transition am: 3051dbab am: 3fc21715

Change-Id: I195ecbf364e5c9ed536f95f0702a12fce8922472
parents 7f167243 3fc21715
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -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);