From c080c0488e739c8ea61f72f2982590a445a687f5 Mon Sep 17 00:00:00 2001 From: satok Date: Fri, 21 Jan 2011 02:35:59 +0900 Subject: [PATCH] Disable the checkbox even if there is a hard keyboard Change-Id: I9ef8ce273fd72327089ada1133d923715645a141 --- src/com/android/settings/inputmethod/InputMethodConfig.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/com/android/settings/inputmethod/InputMethodConfig.java b/src/com/android/settings/inputmethod/InputMethodConfig.java index 2c336dbf352..d08f450c8a5 100644 --- a/src/com/android/settings/inputmethod/InputMethodConfig.java +++ b/src/com/android/settings/inputmethod/InputMethodConfig.java @@ -210,7 +210,7 @@ public class InputMethodConfig extends SettingsPreferenceFragment { chkbxPref.setTitle(label); keyboardSettingsCategory.addPreference(chkbxPref); // Disable the toggle if it's the only keyboard in the system, or it's a system IME. - if (!mHaveHardKeyboard && (imiSize <= 1 || isSystemIME)) { + if (imiSize <= 1 || isSystemIME) { chkbxPref.setEnabled(false); }