[RESTRICT AUTOMERGE] Fix Keyboard shown after force stopped app package am: be3f005f01

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12999438

Change-Id: I709e4dc13d3d1659ca8214c6b0659a66fdca65a2
This commit is contained in:
Ming-Shin Lu
2020-11-12 14:32:00 +00:00
committed by Automerger Merge Worker

View File

@@ -3274,9 +3274,6 @@ public class InputMethodManagerService extends IInputMethodManager.Stub
boolean hideCurrentInputLocked(IBinder windowToken, int flags, ResultReceiver resultReceiver,
@SoftInputShowHideReason int reason) {
if (mCurClient == null || mCurClient.curSession == null) {
return false;
}
if ((flags&InputMethodManager.HIDE_IMPLICIT_ONLY) != 0
&& (mShowExplicitlyRequested || mShowForced)) {
if (DEBUG) Slog.v(TAG, "Not hiding: explicit show not cancelled by non-explicit hide");