Show all languages if user enables multiple subtypes
Bug: 8976598 Change-Id: Idbed69da04321a6f27033329686572d452d26f7a
This commit is contained in:
@@ -135,6 +135,11 @@ public class UserDictionaryList extends SettingsPreferenceFragment {
|
|||||||
// in the list.
|
// in the list.
|
||||||
localeSet.add(mLocale);
|
localeSet.add(mLocale);
|
||||||
}
|
}
|
||||||
|
if (localeSet.size() > 1) {
|
||||||
|
// Have an "All languages" entry in the languages list if there are two or more active
|
||||||
|
// languages
|
||||||
|
localeSet.add("");
|
||||||
|
}
|
||||||
|
|
||||||
if (localeSet.isEmpty()) {
|
if (localeSet.isEmpty()) {
|
||||||
userDictGroup.addPreference(createUserDictionaryPreference(null, activity));
|
userDictGroup.addPreference(createUserDictionaryPreference(null, activity));
|
||||||
|
Reference in New Issue
Block a user