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

Commit b6cae3ce authored by Chris Tate's avatar Chris Tate Committed by Android (Google) Code Review
Browse files

Merge "Make sure MASTER_CLEAR_NOTIFICATION goes to manifest receivers"

parents 81860bdc 2d6c945b
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -623,7 +623,8 @@ public class RecoverySystem {
        final ConditionVariable condition = new ConditionVariable();

        Intent intent = new Intent("android.intent.action.MASTER_CLEAR_NOTIFICATION");
        intent.addFlags(Intent.FLAG_RECEIVER_FOREGROUND);
        intent.addFlags(Intent.FLAG_RECEIVER_FOREGROUND
                | Intent.FLAG_RECEIVER_INCLUDE_BACKGROUND);
        context.sendOrderedBroadcastAsUser(intent, UserHandle.SYSTEM,
                android.Manifest.permission.MASTER_CLEAR,
                new BroadcastReceiver() {