* commit 'aea8b0e571d9fe6b99b001df73d86d6e67bc276a': Correct the target app token for input method window
This commit is contained in:
@@ -1481,7 +1481,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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user