Merge "Enable edge gesture if quickstep has never started" into rvc-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
a1f9485de2
@@ -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