From 05c1ecc965ff8dace85463ff9268305686d8ef11 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 f5d323d2fc7c..4cab9e70b782 100644 --- a/services/core/java/com/android/server/InputMethodManagerService.java +++ b/services/core/java/com/android/server/InputMethodManagerService.java @@ -1703,7 +1703,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.2.3-59-g8ed1b