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

Commit 3846e7e8 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

Change-Id: I0f8d1452b0fe293ad4ae6adcf682d1a37282c7ba
parents 2f552669 aae2f6f3
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();
    }