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

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

Merge "Notify AppOps when notifications are [un]blocked for an app." into rvc-qpr-dev

parents 8190e4f7 0fc29973
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -3056,6 +3056,8 @@ public class NotificationManagerService extends SystemService {
                        UserHandle.getUserId(uid), REASON_PACKAGE_BANNED, null);
            }

            mAppOps.setMode(AppOpsManager.OP_POST_NOTIFICATION, uid, pkg,
                    enabled ? AppOpsManager.MODE_ALLOWED : AppOpsManager.MODE_IGNORED);
            try {
                getContext().sendBroadcastAsUser(
                        new Intent(ACTION_APP_BLOCK_STATE_CHANGED)