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

Commit 3fc21715 authored by Adam Cohen's avatar Adam Cohen
Browse files

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

Change-Id: I12f952a555287173bc7ad5e3acca3aaad2b6a1df
parents 1af550fa 3051dbab
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);