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

Commit 8c54ee72 authored by Jeff Sharkey's avatar Jeff Sharkey Committed by android-build-merger
Browse files

Limit LOCALE_CHANGED broadcast when init'ing.

am: d26e1ff2

Change-Id: Ib735e27a05b787fab6c955a084e55870d1e9442c
parents 941a1ae1 d26e1ff2
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -19043,7 +19043,7 @@ 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) {
	            if (initLocale || !mProcessesReady) {
                        intent.addFlags(Intent.FLAG_RECEIVER_REGISTERED_ONLY);
                    }
                    broadcastIntentLocked(null, null, intent,