Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 12afe145 authored by Satoshi Kataoka's avatar Satoshi Kataoka
Browse files

A tiny cleanup as the supplement of I9b5ef954479150bc4735

Bug: 3483284
Bug: 8851603

Change-Id: Ia6dd894dced9cc68c04aafdcae754a404cf52e83
parent 02679f64
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -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);