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

Commit c7374318 authored by Christopher Tate's avatar Christopher Tate Committed by Android Git Automerger
Browse files

am 7a4cfa58: am 960cb481: am 613626b7: am afd883f8: During early boot, send...

am 7a4cfa58: am 960cb481: am 613626b7: am afd883f8: During early boot, send LOCALE_CHANGED only to registered receivers

* commit '7a4cfa58':
  During early boot, send LOCALE_CHANGED only to registered receivers
parents 14dcb5f1 7a4cfa58
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -16906,6 +16906,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);