Merge "Don't require the center task id to adjust status bar when swiping up" into ub-launcher3-rvc-dev
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user