From 6640d21b2e8d16190fdf79cb3ec4b7694a1ea90b Mon Sep 17 00:00:00 2001 From: Yohei Yukawa Date: Fri, 15 May 2015 10:30:12 -0700 Subject: Revert "Fix IMMS#mInputShown state inconsistency." This reverts commit 8d4a9117fbd0aaf03b8486ef920c73894a12cfcd. Because of a regression Bug 21161785. Bug: 21161785 Bug: 18722991 Bug: 20763994 Bug: 20764441 Bug: 20926844 Change-Id: If58612eda08764be0226832c0a73f03683889cdb --- services/core/java/com/android/server/InputMethodManagerService.java | 1 - 1 file changed, 1 deletion(-) diff --git a/services/core/java/com/android/server/InputMethodManagerService.java b/services/core/java/com/android/server/InputMethodManagerService.java index 256a662..1f6c473 100644 --- a/services/core/java/com/android/server/InputMethodManagerService.java +++ b/services/core/java/com/android/server/InputMethodManagerService.java @@ -1704,7 +1704,6 @@ public class InputMethodManagerService extends IInputMethodManager.Stub vis = 0; } mImeWindowVis = vis; - mInputShown = ((mImeWindowVis & InputMethodService.IME_VISIBLE) != 0); mBackDisposition = backDisposition; // mImeWindowVis should be updated before calling shouldShowImeSwitcherLocked(). final boolean needsToShowImeSwitcher = shouldShowImeSwitcherLocked(); -- cgit v1.1