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

Commit aa9a679b authored by Justin Harrison's avatar Justin Harrison
Browse files

Revert "Revert "During early boot, send LOCALE_CHANGED only to registered receivers""

This reverts commit c48c3139.

Change-Id: Ia2b59da5d953a8a692c0e2f5eabb12e952dbdea1
parent c48c3139
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -16750,6 +16750,9 @@ 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) {
                        intent.addFlags(Intent.FLAG_RECEIVER_REGISTERED_ONLY);
                    }
                    broadcastIntentLocked(null, null, intent,
                            null, null, 0, null, null, null, AppOpsManager.OP_NONE,
                            false, false, MY_PID, Process.SYSTEM_UID, UserHandle.USER_ALL);