Merge "Layout the window to be displayed if it would be resized"

This commit is contained in:
Olawale Ogunwale
2015-03-24 16:11:37 +00:00
committed by Gerrit Code Review

View File

@ -3127,6 +3127,10 @@ public class WindowManagerService extends IWindowManager.Stub
}
winAnimator.mEnteringAnimation = true;
if (toBeDisplayed) {
if ((win.mAttrs.softInputMode & SOFT_INPUT_MASK_ADJUST)
== SOFT_INPUT_ADJUST_RESIZE) {
win.mLayoutNeeded = true;
}
if (win.isDrawnLw() && okToDisplay()) {
winAnimator.applyEnterAnimationLocked();
}