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

This commit is contained in:
Louis Chang
2020-04-08 10:55:16 +00:00
committed by Android (Google) Code Review

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()