Merge "Revert "Fix IME insets animation applies again when restartInput called"" into rvc-dev am: 9d042a22f6

Change-Id: I623b5efee7fd545fef39a39e3437941431ffe124
This commit is contained in:
Louis Chang
2020-04-08 11:15:46 +00:00
committed by Automerger Merge Worker

View File

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