From 5aa14c26361b3f45be7c0746f0db4ffbdc41b75d Mon Sep 17 00:00:00 2001 From: Satoshi Kataoka Date: Tue, 30 Apr 2013 15:01:51 +0900 Subject: Fix the title of the fragment of the personal dictionary This change is corresponding to I9b8bab21b144385bc2386e7fcb Bug: 8600958 Change-Id: I0a0cf37d0a11c14a51dc63b2e4371facb34514d0 --- java/src/com/android/inputmethod/latin/SettingsFragment.java | 5 ----- 1 file changed, 5 deletions(-) (limited to 'java/src') 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()); } } -- cgit v1.2.3-83-g751a