Merge "Always update IME control target" into rvc-dev am: aae2f6f307
Change-Id: I3717bef8d2ff3504c7141b57fb00b4617868d358
This commit is contained in:
@@ -3524,6 +3524,8 @@ class DisplayContent extends WindowContainer<DisplayContent.DisplayChildWindowCo
|
||||
}
|
||||
|
||||
private void setInputMethodTarget(WindowState target, boolean targetWaitingAnim) {
|
||||
// Always update control target. This is needed to handle rotation.
|
||||
updateImeControlTarget(target);
|
||||
if (target == mInputMethodTarget && mInputMethodTargetWaitingAnim == targetWaitingAnim) {
|
||||
return;
|
||||
}
|
||||
@@ -3531,7 +3533,6 @@ class DisplayContent extends WindowContainer<DisplayContent.DisplayChildWindowCo
|
||||
mInputMethodTarget = target;
|
||||
mInputMethodTargetWaitingAnim = targetWaitingAnim;
|
||||
assignWindowLayers(false /* setLayoutNeeded */);
|
||||
updateImeControlTarget(mInputMethodTarget);
|
||||
updateImeParent();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user