Merge "Update mDisplayInstallOrientation when moving to a new display" into tm-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
08dbd9b91c
@@ -1777,6 +1777,7 @@ public final class ViewRootImpl implements ViewParent,
|
|||||||
updateInternalDisplay(displayId, mView.getResources());
|
updateInternalDisplay(displayId, mView.getResources());
|
||||||
mImeFocusController.onMovedToDisplay();
|
mImeFocusController.onMovedToDisplay();
|
||||||
mAttachInfo.mDisplayState = mDisplay.getState();
|
mAttachInfo.mDisplayState = mDisplay.getState();
|
||||||
|
mDisplayInstallOrientation = mDisplay.getInstallOrientation();
|
||||||
// Internal state updated, now notify the view hierarchy.
|
// Internal state updated, now notify the view hierarchy.
|
||||||
mView.dispatchMovedToDisplay(mDisplay, config);
|
mView.dispatchMovedToDisplay(mDisplay, config);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user