Fix minor issue with IME
Because we only "carve" out the area for the IME once it's actually visible now, we need to relayout the windows when we show it - else they won't update the insets until the next real layout happens. Bug: 28175599 Change-Id: Ie0af1225da03905bfcb52044e212812c892c88a9
This commit is contained in:
@@ -1774,6 +1774,10 @@ class WindowStateAnimator {
|
||||
}
|
||||
if (mWin.mAttrs.type == TYPE_INPUT_METHOD) {
|
||||
mService.adjustForImeIfNeeded(mWin.mDisplayContent);
|
||||
if (isEntrance) {
|
||||
mWin.setDisplayLayoutNeeded();
|
||||
mService.mWindowPlacerLocked.requestTraversal();
|
||||
}
|
||||
}
|
||||
return mAnimation != null;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user