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

Commit 3274f3e1 authored by Jeremy Meyer's avatar Jeremy Meyer
Browse files

Document where LocaleConfigs default locale comes from

Fixes: 306690047
Test: automatic
Change-Id: I3a89085662d4915bdd0cc13713d3e387320fd785
parent ee26e36b
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -201,6 +201,7 @@ public class LocaleConfig implements Parcelable {

        String defaultLocale = null;
        if (android.content.res.Flags.defaultLocale()) {
            // Read the defaultLocale attribute of the LocaleConfig element
            TypedArray att = res.obtainAttributes(
                    attrs, com.android.internal.R.styleable.LocaleConfig);
            defaultLocale = att.getString(