summaryrefslogtreecommitdiffstats
path: root/src/com/android/settings/inputmethod/InputMethodAndLanguageSettings.java
diff options
context:
space:
mode:
authorJean Chalard <jchalard@google.com>2011-08-31 21:40:43 +0900
committerJean Chalard <jchalard@google.com>2011-09-01 20:38:52 +0900
commit8ba5c42b213c4cd5b8773595fea2a1be6a18d711 (patch)
tree82bf9da360b59046323fda10c52a87fde8d23e01 /src/com/android/settings/inputmethod/InputMethodAndLanguageSettings.java
parent8ff6222a9136cdbaeea9191869b90abd179efc85 (diff)
downloadpackages_apps_settings-8ba5c42b213c4cd5b8773595fea2a1be6a18d711.zip
packages_apps_settings-8ba5c42b213c4cd5b8773595fea2a1be6a18d711.tar.gz
packages_apps_settings-8ba5c42b213c4cd5b8773595fea2a1be6a18d711.tar.bz2
Update settings wording for ICS
Bug: 5069983 Change-Id: I882aded067e8cc75197f6d3fa5c11388368b6996
Diffstat (limited to 'src/com/android/settings/inputmethod/InputMethodAndLanguageSettings.java')
-rw-r--r--src/com/android/settings/inputmethod/InputMethodAndLanguageSettings.java3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/com/android/settings/inputmethod/InputMethodAndLanguageSettings.java b/src/com/android/settings/inputmethod/InputMethodAndLanguageSettings.java
index 45621e5..5c85374 100644
--- a/src/com/android/settings/inputmethod/InputMethodAndLanguageSettings.java
+++ b/src/com/android/settings/inputmethod/InputMethodAndLanguageSettings.java
@@ -139,8 +139,7 @@ public class InputMethodAndLanguageSettings extends SettingsPreferenceFragment
if (null == localeList) {
// The locale list is null if and only if the user dictionary service is
// not present or disabled. In this case we need to remove the preference.
- ((PreferenceGroup)findPreference("language_settings_category")).removePreference(
- userDictionaryPreference);
+ getPreferenceScreen().removePreference(userDictionaryPreference);
} else if (localeList.size() <= 1) {
userDictionaryPreference.setTitle(R.string.user_dict_single_settings_title);
userDictionaryPreference.setFragment(UserDictionarySettings.class.getName());