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

Commit 8c1b6eb0 authored by Tiger Huang's avatar Tiger Huang
Browse files

Update mDisplayInstallOrientation when moving to a new display

This should have been done in 5242af60.

Bug: 161810301
Test: presubmit
Change-Id: I2f7107f805266f12379e3c9bfc8399ec4f3f2db0
parent 3e2a850f
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -1780,6 +1780,7 @@ public final class ViewRootImpl implements ViewParent,
        updateInternalDisplay(displayId, mView.getResources());
        mImeFocusController.onMovedToDisplay();
        mAttachInfo.mDisplayState = mDisplay.getState();
        mDisplayInstallOrientation = mDisplay.getInstallOrientation();
        // Internal state updated, now notify the view hierarchy.
        mView.dispatchMovedToDisplay(mDisplay, config);
    }