Merge "Enable edge gesture if quickstep has never started" into rvc-dev am: a1f9485de2 am: 03870a8de0 am: 2f1b0e2015
Change-Id: Ic9abe55409f53ae050dc25d062f48e21b6882cbe
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user