Merge "Enable edge gesture if quickstep has never started" into rvc-dev am: a1f9485de2

Change-Id: I3d3345bf7f998eb339c6d1648339544a15afec7e
This commit is contained in:
TreeHugger Robot
2020-04-29 00:23:53 +00:00
committed by Automerger Merge Worker

View File

@@ -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