Merge "Show only up to two locales in Settings" into nyc-dev am: a260cf8931
am: c34946b8fb
am: e784c743d9
* commit 'e784c743d9e255a14030bc006c96433acdb9275c':
Show only up to two locales in Settings
Change-Id: I9c7c5eaf55bf68aea8f23e28ccf14b622c049bac
This commit is contained in:
@@ -353,7 +353,9 @@ public class InputMethodAndLanguageSettings extends SettingsPreferenceFragment
|
||||
final LocaleList locales = LocalePicker.getLocales();
|
||||
final Locale displayLocale = Locale.getDefault();
|
||||
return LocaleHelper.toSentenceCase(
|
||||
LocaleHelper.getDisplayLocaleList(locales, displayLocale), displayLocale);
|
||||
LocaleHelper.getDisplayLocaleList(
|
||||
locales, displayLocale, 2 /* Show up to two locales from the list */),
|
||||
displayLocale);
|
||||
}
|
||||
|
||||
private void saveInputMethodSelectorVisibility(String value) {
|
||||
|
Reference in New Issue
Block a user