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

* commit 'fda1bff8a8eda96662577820102aaaa02a0845b6':
  Correct the target app token for input method window
This commit is contained in:
Craig Mautner
2013-03-18 10:38:24 -07:00
committed by Android Git Automerger

View File

@@ -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;
}
}