Fix black flicker when closing IME

When closing the IME in docked adjusted mode, we still need to pass
in the IME window so we can still execute the logic to delay starting
the animation, so we don't see a black hole before the animation is
started.

Bug: 28175599
Change-Id: I606d30bd63b5e909fdebd78b0aa4968bd9f26c24
This commit is contained in:
Jorim Jaggi
2016-04-22 14:13:49 -07:00
parent cc69bed61f
commit 4c753d52cd

View File

@@ -7498,7 +7498,7 @@ public class WindowManagerService extends IWindowManager.Stub
stack.resetAdjustedForIme(!dockVisible);
}
displayContent.mDividerControllerLocked.setAdjustedForIme(
false /*ime*/, false /*divider*/, dockVisible /*animate*/, null);
false /*ime*/, false /*divider*/, dockVisible /*animate*/, imeWin);
}
}