aboutsummaryrefslogtreecommitdiffstats
path: root/java/src
diff options
context:
space:
mode:
authorSatoshi Kataoka <satok@google.com>2013-05-15 11:19:28 -0700
committerAndroid Git Automerger <android-git-automerger@android.com>2013-05-15 11:19:28 -0700
commitfa47814ca321cc7132540f4707586988ae0c85f2 (patch)
treeeecd64db071539cef6aa14690a9cd2b0de6ecbbb /java/src
parentbc81ac838ae16277388c709aa97222600ec6916d (diff)
parentf4d7c99cda24fb5747843a47cd8a4423c315f685 (diff)
downloadlatinime-fa47814ca321cc7132540f4707586988ae0c85f2.tar.gz
latinime-fa47814ca321cc7132540f4707586988ae0c85f2.tar.xz
latinime-fa47814ca321cc7132540f4707586988ae0c85f2.zip
am f4d7c99c: am 71c1e50f: Merge "Fix the title of the fragment of the personal dictionary"
* commit 'f4d7c99cda24fb5747843a47cd8a4423c315f685': Fix the title of the fragment of the personal dictionary
Diffstat (limited to 'java/src')
-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());
}
}