From 05090b8f34f6c9331b45d30779dc2e5e5aa208bd Mon Sep 17 00:00:00 2001 From: Louis Chang Date: Wed, 8 Apr 2020 09:36:20 +0000 Subject: [PATCH] Revert "Fix IME insets animation applies again when restartInput called" This reverts commit 0e766c11b021064ee17de5a29b1297b62dd6b520. Reason for revert: Breaking presubmit Bug: 153516672 Change-Id: I894b5d5ecff97c124b5e2bf7c7be28f23ee10367 --- .../android/server/inputmethod/InputMethodManagerService.java | 4 ---- 1 file changed, 4 deletions(-) diff --git a/services/core/java/com/android/server/inputmethod/InputMethodManagerService.java b/services/core/java/com/android/server/inputmethod/InputMethodManagerService.java index 846d09915fba1..e6cb37185d71d 100644 --- a/services/core/java/com/android/server/inputmethod/InputMethodManagerService.java +++ b/services/core/java/com/android/server/inputmethod/InputMethodManagerService.java @@ -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()