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

Commit 81062685 authored by Robin Lee's avatar Robin Lee Committed by Automerger Merge Worker
Browse files

Merge "Don't recompute display mode during a mode switch" into sc-dev am: 9d00fa87

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/13435766

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: Ia968d4d2edb1c766fb336c0ba402b3f30b4cac08
parents 4cb0946d 9d00fa87
Loading
Loading
Loading
Loading
+8 −6
Original line number Diff line number Diff line
@@ -4192,12 +4192,14 @@ class DisplayContent extends RootDisplayArea implements WindowManagerPolicy.Disp
        mInsetsStateController.getImeSourceProvider().checkShowImePostLayout();

        mLastHasContent = mTmpApplySurfaceChangesTransactionState.displayHasContent;
        if (!mWmService.mDisplayFrozen) {
            mWmService.mDisplayManagerInternal.setDisplayProperties(mDisplayId,
                    mLastHasContent,
                    mTmpApplySurfaceChangesTransactionState.preferredRefreshRate,
                    mTmpApplySurfaceChangesTransactionState.preferredModeId,
                    mTmpApplySurfaceChangesTransactionState.preferMinimalPostProcessing,
                    true /* inTraversal, must call performTraversalInTrans... below */);
        }

        final boolean wallpaperVisible = mWallpaperController.isWallpaperVisible();
        if (wallpaperVisible != mLastWallpaperVisible) {