Update settings wording for ICS

Bug: 5069983
Change-Id: I882aded067e8cc75197f6d3fa5c11388368b6996
This commit is contained in:
Jean Chalard
2011-08-31 21:40:43 +09:00
parent 8ff6222a91
commit 8ba5c42b21
4 changed files with 34 additions and 46 deletions

View File

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