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

Change-Id: Ic52332ab111946922c830622591741460229f3bd
This commit is contained in:
TreeHugger Robot
2020-04-08 04:24:25 +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,
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()