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

Commit 10221a22 authored by Daisuke Miyakawa's avatar Daisuke Miyakawa Committed by Android Git Automerger
Browse files

am b02d3956: am e16a1bfa: Use system locale list.

* commit 'b02d3956':
  Use system locale list.
parents 25dad8ed b02d3956
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -88,7 +88,7 @@ public class LocalePicker extends ListFragment {
    public static ArrayAdapter<LocaleInfo> constructAdapter(Context context,
            int layoutId, int fieldId) {
        final Resources resources = context.getResources();
        final String[] locales = context.getAssets().getLocales();
        final String[] locales = Resources.getSystem().getAssets().getLocales();
        final String[] specialLocaleCodes = resources.getStringArray(R.array.special_locale_codes);
        final String[] specialLocaleNames = resources.getStringArray(R.array.special_locale_names);
        Arrays.sort(locales);