Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit a260cf89 authored by Roozbeh Pournader's avatar Roozbeh Pournader Committed by Android (Google) Code Review
Browse files

Merge "Show only up to two locales in Settings" into nyc-dev

parents 8eaa3de9 217b1d15
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -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) {