aboutsummaryrefslogtreecommitdiffstats
path: root/java/src/com/android/inputmethod/latin/Settings.java
diff options
context:
space:
mode:
authorsatok <satok@google.com>2011-04-21 19:42:56 +0900
committersatok <satok@google.com>2011-04-21 19:46:06 +0900
commit49a11524fc165542c211487485bcc4967ce27660 (patch)
tree94dde55d95893b1c1c2c5942f4a8746d4d0eed1d /java/src/com/android/inputmethod/latin/Settings.java
parentc9c3aa219e56c4707215c28495210a2393ff50c7 (diff)
downloadlatinime-49a11524fc165542c211487485bcc4967ce27660.tar.gz
latinime-49a11524fc165542c211487485bcc4967ce27660.tar.xz
latinime-49a11524fc165542c211487485bcc4967ce27660.zip
Fix language selection settings
Change-Id: I99e2039579a5bd606a8e698cdee2739465b998bc
Diffstat (limited to 'java/src/com/android/inputmethod/latin/Settings.java')
-rw-r--r--java/src/com/android/inputmethod/latin/Settings.java8
1 files changed, 2 insertions, 6 deletions
diff --git a/java/src/com/android/inputmethod/latin/Settings.java b/java/src/com/android/inputmethod/latin/Settings.java
index 1725ee7aa..6a0b7b009 100644
--- a/java/src/com/android/inputmethod/latin/Settings.java
+++ b/java/src/com/android/inputmethod/latin/Settings.java
@@ -68,7 +68,6 @@ public class Settings extends PreferenceActivity
public static final String PREF_AUTO_CORRECTION_THRESHOLD = "auto_correction_threshold";
public static final String PREF_BIGRAM_SUGGESTIONS = "bigram_suggestion";
public static final String PREF_DEBUG_SETTINGS = "debug_settings";
- public static final String PREF_LANGUAGE_SELECTION = "language_selection";
public static final String PREF_USABILITY_STUDY_MODE = "usability_study_mode";
@@ -152,7 +151,8 @@ public class Settings extends PreferenceActivity
final boolean showSubtypeSettings = getResources().getBoolean(
R.bool.config_enable_show_subtype_settings);
- if (!showSubtypeSettings) {
+ if (InputMethodServiceCompatWrapper.CAN_HANDLE_ON_CURRENT_INPUT_METHOD_SUBTYPE_CHANGED
+ && !showSubtypeSettings) {
generalSettings.removePreference(findPreference(PREF_SUBTYPES));
}
@@ -185,10 +185,6 @@ public class Settings extends PreferenceActivity
if (!showUsabilityModeStudyOption) {
getPreferenceScreen().removePreference(findPreference(PREF_USABILITY_STUDY_MODE));
}
-
- if (InputMethodServiceCompatWrapper.CAN_HANDLE_ON_CURRENT_INPUT_METHOD_SUBTYPE_CHANGED) {
- generalSettings.removePreference(findPreference(PREF_LANGUAGE_SELECTION));
- }
}
@Override