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

Change-Id: I4ef892fb0be27b84d850abe8b73b5d350518cd68
This commit is contained in:
TreeHugger Robot
2020-04-29 00:23:51 +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