Merge "Show only up to two locales in Settings" into nyc-dev am: a260cf8931
am: c34946b8fb
* commit 'c34946b8fb2f612b29401b807a8d774fb64a7812':
Show only up to two locales in Settings
Change-Id: I14a74579f9742586c7a3ebec7adc2d1d73da32ab
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