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

Commit 2dc381fd authored by Oleg Blinnikov's avatar Oleg Blinnikov Committed by Android (Google) Code Review
Browse files

Merge "Rotate display to user-rotation on plug-in" into main

parents b52ba52d e8499257
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -5502,6 +5502,10 @@ class DisplayContent extends RootDisplayArea implements WindowManagerPolicy.Disp
                configureDisplayPolicy();
            }

            if (!isDefaultDisplay) {
                mDisplayRotation.updateRotationUnchecked(true);
            }

            reconfigureDisplayLocked();
            onRequestedOverrideConfigurationChanged(getRequestedOverrideConfiguration());
            mWmService.mDisplayNotificationController.dispatchDisplayAdded(this);