Merge "Revert "During early boot, send LOCALE_CHANGED only to registered receivers"" into lmp-mr1-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
29b9888467
@@ -16757,9 +16757,6 @@ 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