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