From 9d08143fa72ad87572a7d5c714f379262a73e1b2 Mon Sep 17 00:00:00 2001 From: Satoshi Kataoka Date: Wed, 9 Jan 2013 23:44:28 -0800 Subject: Revert "Fix a bug where disabled auxilialy IME is unexpectedly re-enabled" This reverts commit 32b812054cce27d1c70b53ba8ac729c7186b105e Bug: 7976890 Change-Id: I75ab60734153719b199cf7281d23f5eb1ad2d1bc --- services/java/com/android/server/InputMethodManagerService.java | 9 --------- 1 file changed, 9 deletions(-) (limited to 'services') diff --git a/services/java/com/android/server/InputMethodManagerService.java b/services/java/com/android/server/InputMethodManagerService.java index 8eb61dd..94e0bd4 100644 --- a/services/java/com/android/server/InputMethodManagerService.java +++ b/services/java/com/android/server/InputMethodManagerService.java @@ -782,9 +782,6 @@ public class InputMethodManagerService extends IInputMethodManager.Stub if (!isSystemIme(imi)) { return false; } - if (imi.isAuxiliaryIme()) { - return false; - } if (imi.getIsDefaultResourceId() != 0) { try { Resources res = context.createPackageContext( @@ -808,9 +805,6 @@ public class InputMethodManagerService extends IInputMethodManager.Stub if (!isSystemIme(imi)) { return false; } - if (imi.isAuxiliaryIme()) { - return false; - } return containsSubtypeOf(imi, ENGLISH_LOCALE.getLanguage()); } @@ -2862,9 +2856,6 @@ public class InputMethodManagerService extends IInputMethodManager.Stub List>> enabledInputMethodsList = mSettings .getEnabledInputMethodsAndSubtypeListLocked(); - if (DEBUG) { - Slog.d(TAG, (enabled ? "Enable " : "Disable ") + id); - } if (enabled) { for (Pair> pair: enabledInputMethodsList) { if (pair.first.equals(id)) { -- cgit v1.1