Merge "Enable edge gesture if quickstep has never started" into rvc-dev am: a1f9485de2 am: 03870a8de0
Change-Id: I56b5c438fb7f90b79d13f7440fc50f630546b6d5
This commit is contained in:
@@ -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