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

Commit a2b672cc authored by Vinit Nayak's avatar Vinit Nayak
Browse files

Enable edge gesture if quickstep has never started

Bug: 154580671
Test: Restart phone w/o touching nav bar,
back works.

Change-Id: I59bd060f2d06d273bc8e1eb1186273902ebe6c8e
parent 18f35e57
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -556,7 +556,8 @@ public class EdgeBackGestureHandler extends CurrentUserTracker implements Displa

    private void updateDisabledForQuickstep() {
        int rotation = mContext.getResources().getConfiguration().windowConfiguration.getRotation();
        mDisabledForQuickstep = mStartingQuickstepRotation != rotation;
        mDisabledForQuickstep = mStartingQuickstepRotation > -1 &&
                mStartingQuickstepRotation != rotation;
    }

    @Override