Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit ab28b8b8 authored by Charles Chen's avatar Charles Chen
Browse files

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
parent 7859ecee
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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);
                }
            };