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

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

Merge "Skip IME animation cancellation during rotation" into rvc-dev am:...

Merge "Skip IME animation cancellation during rotation" into rvc-dev am: 992c347b am: 799b362f am: 2a6a9a9f

Change-Id: I2db7f3a26bd4eb78199cb19e33e5b5ad855fb58a
parents d882780e 2a6a9a9f
Loading
Loading
Loading
Loading
+4 −3
Original line number Diff line number Diff line
@@ -1381,7 +1381,8 @@ class WindowStateAnimator {
            return true;
        }

        if (isEntrance && mWin.mAttrs.type == TYPE_INPUT_METHOD) {
        final boolean isImeWindow = mWin.mAttrs.type == TYPE_INPUT_METHOD;
        if (isEntrance && isImeWindow) {
            mWin.getDisplayContent().adjustForImeIfNeeded();
            mWin.setDisplayLayoutNeeded();
            mService.mWindowPlacerLocked.requestTraversal();
@@ -1435,11 +1436,11 @@ class WindowStateAnimator {
                Trace.traceEnd(Trace.TRACE_TAG_WINDOW_MANAGER);
                mAnimationIsEntrance = isEntrance;
            }
        } else {
        } else if (!isImeWindow) {
            mWin.cancelAnimation();
        }

        if (!isEntrance && mWin.mAttrs.type == TYPE_INPUT_METHOD) {
        if (!isEntrance && isImeWindow) {
            mWin.getDisplayContent().adjustForImeIfNeeded();
        }