diff options
author | Jean Chalard <jchalard@google.com> | 2011-08-31 21:40:43 +0900 |
---|---|---|
committer | Jean Chalard <jchalard@google.com> | 2011-09-01 20:38:52 +0900 |
commit | 8ba5c42b213c4cd5b8773595fea2a1be6a18d711 (patch) | |
tree | 82bf9da360b59046323fda10c52a87fde8d23e01 /src/com/android/settings/inputmethod/InputMethodAndLanguageSettings.java | |
parent | 8ff6222a9136cdbaeea9191869b90abd179efc85 (diff) | |
download | packages_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.java | 3 |
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()); |