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

Commit 2da45672 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Limit LOCALE_CHANGED broadcast when init'ing."

parents 477234c0 09e13358
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -19028,7 +19028,7 @@ public final class ActivityManagerService extends ActivityManagerNative
        if ((changes & ActivityInfo.CONFIG_LOCALE) != 0) {
            intent = new Intent(Intent.ACTION_LOCALE_CHANGED);
            intent.addFlags(Intent.FLAG_RECEIVER_FOREGROUND);
            if (!mProcessesReady) {
            if (initLocale || !mProcessesReady) {
                intent.addFlags(Intent.FLAG_RECEIVER_REGISTERED_ONLY);
            }
            broadcastIntentLocked(null, null, intent, null, null, 0, null, null, null,