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

Commit c50be496 authored by Shawn Lin's avatar Shawn Lin Committed by Android (Google) Code Review
Browse files

Merge "Fix cts failure of DisplayShape"

parents eaa21fd5 ae026877
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1109,12 +1109,12 @@ class DisplayContent extends RootDisplayArea implements WindowManagerPolicy.Disp
                * mDisplayMetrics.densityDpi / DENSITY_DEFAULT;
        isDefaultDisplay = mDisplayId == DEFAULT_DISPLAY;
        mInsetsStateController = new InsetsStateController(this);
        initializeDisplayBaseInfo();
        mDisplayFrames = new DisplayFrames(mInsetsStateController.getRawInsetsState(),
                mDisplayInfo, calculateDisplayCutoutForRotation(mDisplayInfo.rotation),
                calculateRoundedCornersForRotation(mDisplayInfo.rotation),
                calculatePrivacyIndicatorBoundsForRotation(mDisplayInfo.rotation),
                calculateDisplayShapeForRotation(mDisplayInfo.rotation));
        initializeDisplayBaseInfo();

        mHoldScreenWakeLock = mWmService.mPowerManager.newWakeLock(
                PowerManager.SCREEN_BRIGHT_WAKE_LOCK | PowerManager.ON_AFTER_RELEASE,