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

Commit 77c96dd8 authored by Christopher Tate's avatar Christopher Tate Committed by Android (Google) Code Review
Browse files

Merge "Don't launch broadcast receiver processes during boot" into lmp-mr1-dev

parents 14c33f6a 267603f3
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -1400,6 +1400,7 @@ public class AudioService extends IAudioService.Stub {
    }

    private void sendBroadcastToAll(Intent intent) {
        intent.addFlags(Intent.FLAG_RECEIVER_REGISTERED_ONLY_BEFORE_BOOT);
        final long ident = Binder.clearCallingIdentity();
        try {
            mContext.sendBroadcastAsUser(intent, UserHandle.ALL);