From 5aa14c26361b3f45be7c0746f0db4ffbdc41b75d Mon Sep 17 00:00:00 2001 From: Satoshi Kataoka Date: Tue, 30 Apr 2013 15:01:51 +0900 Subject: [PATCH] Fix the title of the fragment of the personal dictionary This change is corresponding to I9b8bab21b144385bc2386e7fcb Bug: 8600958 Change-Id: I0a0cf37d0a11c14a51dc63b2e4371facb34514d0 --- java/res/values/strings.xml | 9 --------- .../com/android/inputmethod/latin/SettingsFragment.java | 5 ----- 2 files changed, 14 deletions(-) diff --git a/java/res/values/strings.xml b/java/res/values/strings.xml index a5567daa7..85abb08fe 100644 --- a/java/res/values/strings.xml +++ b/java/res/values/strings.xml @@ -559,15 +559,6 @@ Tip: You can download and remove dictionaries by going to <b>Language & i Version %1$s - - - User dictionary - - - Personal dictionary - - - Personal dictionaries "" diff --git a/java/src/com/android/inputmethod/latin/SettingsFragment.java b/java/src/com/android/inputmethod/latin/SettingsFragment.java index 830cae9b8..835ef7b46 100644 --- a/java/src/com/android/inputmethod/latin/SettingsFragment.java +++ b/java/src/com/android/inputmethod/latin/SettingsFragment.java @@ -420,10 +420,6 @@ public final class SettingsFragment extends InputMethodSettingsFragment // not present or disabled. In this case we need to remove the preference. getPreferenceScreen().removePreference(userDictionaryPreference); } else if (localeList.size() <= 1) { - final Intent intent = - new Intent(UserDictionaryList.USER_DICTIONARY_SETTINGS_INTENT_ACTION); - userDictionaryPreference.setTitle(R.string.user_dict_single_settings_title); - userDictionaryPreference.setIntent(intent); userDictionaryPreference.setFragment(UserDictionarySettings.class.getName()); // If the size of localeList is 0, we don't set the locale parameter in the // extras. This will be interpreted by the UserDictionarySettings class as @@ -436,7 +432,6 @@ public final class SettingsFragment extends InputMethodSettingsFragment userDictionaryPreference.getExtras().putString("locale", locale); } } else { - userDictionaryPreference.setTitle(R.string.user_dict_multiple_settings_title); userDictionaryPreference.setFragment(UserDictionaryList.class.getName()); } }