aboutsummaryrefslogtreecommitdiffstats
path: root/java/src/com/android/inputmethod/latin/SettingsFragment.java
diff options
context:
space:
mode:
authorSatoshi Kataoka <satok@google.com>2013-04-30 15:01:51 +0900
committerSatoshi Kataoka <satok@google.com>2013-04-30 15:01:51 +0900
commit5aa14c26361b3f45be7c0746f0db4ffbdc41b75d (patch)
tree63c1e836f6c31a1ef5bd514337383c599fb07fff /java/src/com/android/inputmethod/latin/SettingsFragment.java
parent7a800e7982ff607aa339f44742de935033f38cfe (diff)
downloadlatinime-5aa14c26361b3f45be7c0746f0db4ffbdc41b75d.tar.gz
latinime-5aa14c26361b3f45be7c0746f0db4ffbdc41b75d.tar.xz
latinime-5aa14c26361b3f45be7c0746f0db4ffbdc41b75d.zip
Fix the title of the fragment of the personal dictionary
This change is corresponding to I9b8bab21b144385bc2386e7fcb Bug: 8600958 Change-Id: I0a0cf37d0a11c14a51dc63b2e4371facb34514d0
Diffstat (limited to 'java/src/com/android/inputmethod/latin/SettingsFragment.java')
-rw-r--r--java/src/com/android/inputmethod/latin/SettingsFragment.java5
1 files changed, 0 insertions, 5 deletions
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());
}
}