Enable edge gesture if quickstep has never started
Bug: 154580671 Test: Restart phone w/o touching nav bar, back works. Change-Id: I59bd060f2d06d273bc8e1eb1186273902ebe6c8e
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