Revert "Fix IME insets animation applies again when restartInput called"

This reverts commit 0e766c11b0.

Reason for revert: Breaking presubmit

Bug: 153516672
Change-Id: I894b5d5ecff97c124b5e2bf7c7be28f23ee10367
This commit is contained in:
Louis Chang
2020-04-08 09:36:20 +00:00
parent 0e766c11b0
commit 05090b8f34

View File

@@ -3106,14 +3106,10 @@ public class InputMethodManagerService extends IInputMethodManager.Stub
MSG_SHOW_SOFT_INPUT, getImeShowFlags(), reason, mCurMethod, resultReceiver,
showInputToken));
mInputShown = true;
if (mHaveConnection && !mVisibleBound) {
bindCurrentInputMethodServiceLocked(
mCurIntent, mVisibleConnection, IME_VISIBLE_BIND_FLAGS);
mVisibleBound = true;
} else {
// Clear the show request after the input shown.
mShowRequested = false;
}
res = true;
} else if (mHaveConnection && SystemClock.uptimeMillis()