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

Commit e8499257 authored by Oleg Blinnikov's avatar Oleg Blinnikov
Browse files

Rotate display to user-rotation on plug-in

Change-Id: I2fe75fbed187d1c53ea9c5d55c0d23573c07271b
Test: plug-in display, set user-rotation, replug display
Bug: 314190271
parent dd99c764
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);