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

Commit b33ef7a9 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Send policy granted broadcast to manifest receivers"

parents 0857c584 99f7207a
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -3509,7 +3509,7 @@ public class NotificationManagerService extends SystemService {
                    getContext().sendBroadcastAsUser(new Intent(
                            NotificationManager.ACTION_NOTIFICATION_POLICY_ACCESS_GRANTED_CHANGED)
                                    .setPackage(pkg)
                                    .addFlags(Intent.FLAG_RECEIVER_REGISTERED_ONLY),
                                    .addFlags(Intent.FLAG_RECEIVER_REGISTERED_ONLY_BEFORE_BOOT),
                            UserHandle.of(userId), null);
                    handleSavePolicyFile();
                }