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

Commit 663d4f5c authored by satok's avatar satok Committed by Android (Google) Code Review
Browse files

Merge "Fix getMiddleDisplayLanguage"

parents 0c8d5ca0 12e07767
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -608,7 +608,7 @@ public class SubtypeSwitcher {
    }

    public static String getMiddleDisplayLanguage(Locale locale) {
        return toTitleCase(locale.getDisplayLanguage(new Locale(locale.getLanguage())));
        return toTitleCase((new Locale(locale.getLanguage()).getDisplayLanguage(locale)));
    }

    public static String getShortDisplayLanguage(Locale locale) {