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

Commit 7f7ac5b4 authored by Craig Mautner's avatar Craig Mautner Committed by Android Git Automerger
Browse files

am fda1bff8: Merge "Correct the target app token for input method window"

* commit 'fda1bff8':
  Correct the target app token for input method window
parents 3fafccdd fda1bff8
Loading
Loading
Loading
Loading
+5 −1
Original line number Diff line number Diff line
@@ -1514,7 +1514,11 @@ public class WindowManagerService extends IWindowManager.Stub
                    pos++;
                }
                if (pos >= N) {
                    // All is good!
                    // Z order is good.
                    // The IM target window may be changed, so update the mTargetAppToken.
                    if (imWin != null) {
                        imWin.mTargetAppToken = mInputMethodTarget.mAppToken;
                    }
                    return false;
                }
            }