Apply last report config to updateDisabledForQuickstep
With mLastReportedConfig introduced, we should use mLastReportedConfig rather than config from Resources in case of out of sync. Bug: 235711424 Test: presubmit Change-Id: Ia24b8eecb62b106218fc7f880f5197961c3c38b1
This commit is contained in:
@@ -132,7 +132,7 @@ public class EdgeBackGestureHandler extends CurrentUserTracker
|
||||
@Override
|
||||
public void onPrioritizedRotation(@Surface.Rotation int rotation) {
|
||||
mStartingQuickstepRotation = rotation;
|
||||
updateDisabledForQuickstep(mContext.getResources().getConfiguration());
|
||||
updateDisabledForQuickstep(mLastReportedConfig);
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user