Update mDisplayInstallOrientation when moving to a new display
This should have been done in 5242af609e.
Bug: 161810301
Test: presubmit
Change-Id: I2f7107f805266f12379e3c9bfc8399ec4f3f2db0
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user