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() {
|
private void updateDisabledForQuickstep() {
|
||||||
int rotation = mContext.getResources().getConfiguration().windowConfiguration.getRotation();
|
int rotation = mContext.getResources().getConfiguration().windowConfiguration.getRotation();
|
||||||
mDisabledForQuickstep = mStartingQuickstepRotation != rotation;
|
mDisabledForQuickstep = mStartingQuickstepRotation > -1 &&
|
||||||
|
mStartingQuickstepRotation != rotation;
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|||||||
Reference in New Issue
Block a user