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

Commit 18aa37ca authored by Adam Cohen's avatar Adam Cohen
Browse files

Don't require the center task id to adjust status bar when swiping up

b/155029378

Change-Id: I3cb65e82ab192b63d54291aad9e2395fa8dedaef
parent bdd65226
Loading
Loading
Loading
Loading
+2 −3
Original line number Diff line number Diff line
@@ -587,9 +587,8 @@ public class LauncherSwipeHandler extends BaseSwipeUpHandler<Launcher, RecentsVi
            boolean quickswitchThresholdPassed = centermostTask != runningTask;

            // We will handle the sysui flags based on the centermost task view.
            mRecentsAnimationController.setUseLauncherSystemBarFlags(
                    (swipeUpThresholdPassed || quickswitchThresholdPassed)
                            && centermostTaskFlags != 0);
            mRecentsAnimationController.setUseLauncherSystemBarFlags(swipeUpThresholdPassed
                    ||  (quickswitchThresholdPassed && centermostTaskFlags != 0));
            mRecentsAnimationController.setSplitScreenMinimized(swipeUpThresholdPassed);

            int sysuiFlags = swipeUpThresholdPassed ? 0 : centermostTaskFlags;