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

Change-Id: Ie4a9b1f633d1ed9fc2d2523e2b0abb37c7f0c43e
This commit is contained in:
TreeHugger Robot
2020-04-08 03:51:02 +00:00
committed by Automerger Merge Worker

View File

@@ -3106,10 +3106,14 @@ 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()