A tiny cleanup as the supplement of I9b5ef954479150bc4735
Bug: 3483284
Bug: 8851603
Change-Id: Ia6dd894dced9cc68c04aafdcae754a404cf52e83
This commit is contained in:
@@ -9648,8 +9648,7 @@ public class WindowManagerService extends IWindowManager.Stub
|
||||
mLosingFocus.remove(newFocus);
|
||||
int focusChanged = mPolicy.focusChangedLw(oldFocus, newFocus);
|
||||
|
||||
final WindowState imWindow = mInputMethodWindow;
|
||||
if (imWindowChanged && oldFocus != imWindow) {
|
||||
if (imWindowChanged && oldFocus != mInputMethodWindow) {
|
||||
// Focus of the input method window changed. Perform layout if needed.
|
||||
if (mode == UPDATE_FOCUS_PLACING_SURFACES) {
|
||||
performLayoutLockedInner(displayContent, true /*initial*/, updateInputWindows);
|
||||
|
||||
Reference in New Issue
Block a user