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

Commit 1682d0d7 authored by Adam Cohen's avatar Adam Cohen Committed by Android (Google) Code Review
Browse files

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

Merge "Don't require the center task id to adjust status bar when swiping up" into ub-launcher3-rvc-dev
parents 054b0ae3 18aa37ca
Loading
Loading
Loading
Loading
+2 −3
Original line number Diff line number Diff line
@@ -586,9 +586,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;