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:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user