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

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

am 7c15032d: am c7374318: am 7a4cfa58: am 960cb481: am 613626b7: am afd883f8:...

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

* commit '7c15032d':
  During early boot, send LOCALE_CHANGED only to registered receivers
parents deb06b85 7c15032d
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);