Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e135c59f authored by Taran Singh's avatar Taran Singh Committed by Automerger Merge Worker
Browse files

Merge "Always update IME control target" into rvc-dev am: aae2f6f3 am: 3846e7e8

Change-Id: I143cb96db26e2eea7af884df844de71a587e5b36
parents cc02f9b5 3846e7e8
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -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();
    }