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

Commit 6e359146 authored by Tony Wickham's avatar Tony Wickham
Browse files

Don't allow swiping down from overview in fallback recents

Bug: 77921295
Change-Id: I5a374bed865f03a715cb852e99c86c6e2e119273
parent e833bf3e
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -131,7 +131,9 @@ public class PortraitStatesTouchController extends AbstractStateChangeTouchContr
            directionsToDetectScroll = SwipeDetector.DIRECTION_POSITIVE;
            mStartContainerType = ContainerType.HOTSEAT;
        } else if (mLauncher.isInState(OVERVIEW)) {
            directionsToDetectScroll = SwipeDetector.DIRECTION_BOTH;
            boolean canSwipeDownFromOverview = getTargetState(OVERVIEW, false) != OVERVIEW;
            directionsToDetectScroll = canSwipeDownFromOverview ? SwipeDetector.DIRECTION_BOTH
                    : SwipeDetector.DIRECTION_POSITIVE;
            mStartContainerType = ContainerType.TASKSWITCHER;
        } else {
            return 0;