summaryrefslogtreecommitdiffstats
path: root/src/com/android/settings/inputmethod
diff options
context:
space:
mode:
authorsatok <satok@google.com>2011-01-21 02:35:59 +0900
committersatok <satok@google.com>2011-01-21 02:35:59 +0900
commitc080c0488e739c8ea61f72f2982590a445a687f5 (patch)
tree3cfedb7291640a7e221891fa52fba7997183bd5b /src/com/android/settings/inputmethod
parent9b37821d67f6db1d3d9a9603592e2f053f257fa7 (diff)
downloadpackages_apps_Settings-c080c0488e739c8ea61f72f2982590a445a687f5.tar.gz
packages_apps_Settings-c080c0488e739c8ea61f72f2982590a445a687f5.tar.bz2
packages_apps_Settings-c080c0488e739c8ea61f72f2982590a445a687f5.zip
Disable the checkbox even if there is a hard keyboard
Change-Id: I9ef8ce273fd72327089ada1133d923715645a141
Diffstat (limited to 'src/com/android/settings/inputmethod')
-rw-r--r--src/com/android/settings/inputmethod/InputMethodConfig.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/com/android/settings/inputmethod/InputMethodConfig.java b/src/com/android/settings/inputmethod/InputMethodConfig.java
index 2c336dbf3..d08f450c8 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);
}