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

Commit 0c7bce82 authored by Mihai Nita's avatar Mihai Nita
Browse files

Sentence-case the locale list.

Bug: 26730313
Change-Id: I015c50cb0e82cf3f5ad88a57d43d39e7202cf62d
parent 3ba50d85
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -348,7 +348,9 @@ public class InputMethodAndLanguageSettings extends SettingsPreferenceFragment

    private static String getLocaleNames(Context context) {
        final LocaleList locales = LocalePicker.getLocales();
        return LocaleHelper.getDisplayLocaleList(locales, Locale.getDefault());
        final Locale displayLocale = Locale.getDefault();
        return LocaleHelper.toSentenceCase(
                LocaleHelper.getDisplayLocaleList(locales, displayLocale), displayLocale);
    }

    private void saveInputMethodSelectorVisibility(String value) {