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

Commit 7d020f7d authored by Winson Chung's avatar Winson Chung Committed by Evan Rosky
Browse files

Update window threshold in both directions

- Only use the task flags when we should be using the home screen state

Bug: 151181674
Test: Move gesture below threshold and observe split minimize
Change-Id: I1b0f682eb9c2861b36953da7695c798c187db517
parent c83758f2
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -588,7 +588,7 @@ public class LauncherSwipeHandler<T extends BaseDraggingActivity>
            // We will handle the sysui flags based on the centermost task view.
            if (mRecentsAnimationController != null) {
                mRecentsAnimationController.setWindowThresholdCrossed(centermostTaskFlags != 0
                        || useHomeScreenFlags);
                        && useHomeScreenFlags);
            }
            int sysuiFlags = useHomeScreenFlags ? 0 : centermostTaskFlags;
            mActivity.getSystemUiController().updateUiState(UI_STATE_OVERVIEW, sysuiFlags);