am 705a35de: am c3b9156e: am 6715ef75: am 4f2927d2: am 0eeb3bb8: am 33aa55b1: am 127d0b80: Merge "Revert "Revert "During early boot, send LOCALE_CHANGED only to registered receivers""" into lmp-mr1-dev
* commit '705a35de3adcd3406687bad66d4bd45f3a6725f8': Revert "Revert "During early boot, send LOCALE_CHANGED only to registered receivers""
This commit is contained in:
@@ -17175,6 +17175,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);
|
||||
|
||||
Reference in New Issue
Block a user