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

Commit c8fd50b1 authored by Justin Harrison's avatar Justin Harrison Committed by Android Git Automerger
Browse files

am 29b98884: Merge "Revert "During early boot, send LOCALE_CHANGED only to...

am 29b98884: Merge "Revert "During early boot, send LOCALE_CHANGED only to registered receivers"" into lmp-mr1-dev

* commit '29b98884':
  Revert "During early boot, send LOCALE_CHANGED only to registered receivers"
parents 4b2d2add 29b98884
Loading
Loading
Loading
Loading
+0 −3
Original line number Original line Diff line number Diff line
@@ -16757,9 +16757,6 @@ public final class ActivityManagerService extends ActivityManagerNative
                if ((changes&ActivityInfo.CONFIG_LOCALE) != 0) {
                if ((changes&ActivityInfo.CONFIG_LOCALE) != 0) {
                    intent = new Intent(Intent.ACTION_LOCALE_CHANGED);
                    intent = new Intent(Intent.ACTION_LOCALE_CHANGED);
                    intent.addFlags(Intent.FLAG_RECEIVER_FOREGROUND);
                    intent.addFlags(Intent.FLAG_RECEIVER_FOREGROUND);
                    if (!mProcessesReady) {
                        intent.addFlags(Intent.FLAG_RECEIVER_REGISTERED_ONLY);
                    }
                    broadcastIntentLocked(null, null, intent,
                    broadcastIntentLocked(null, null, intent,
                            null, null, 0, null, null, null, AppOpsManager.OP_NONE,
                            null, null, 0, null, null, null, AppOpsManager.OP_NONE,
                            false, false, MY_PID, Process.SYSTEM_UID, UserHandle.USER_ALL);
                            false, false, MY_PID, Process.SYSTEM_UID, UserHandle.USER_ALL);