Disable the checkbox even if there is a hard keyboard

Change-Id: I9ef8ce273fd72327089ada1133d923715645a141
This commit is contained in:
satok
2011-01-21 02:35:59 +09:00
parent 9b37821d67
commit c080c0488e

View File

@@ -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);
}