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

Commit 99f7207a authored by Julia Reynolds's avatar Julia Reynolds
Browse files

Send policy granted broadcast to manifest receivers

Because it's limited by package already.

Test: manual
Change-Id: I7ed7411748f1ac2f27351fcdbe6588fa22f6fe6d
Fixes: 122457398
parent 413ba846
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();
                }