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

Commit c8d7ab9f authored by John Spurlock's avatar John Spurlock
Browse files

Log all notification interceptions.

Change-Id: I036a4b5eb7c5a3ce2addb0a16d9d6806e3952929
parent dab40493
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -1612,7 +1612,8 @@ public class NotificationManagerService extends SystemService {

                // Should this notification make noise, vibe, or use the LED?
                final boolean canInterrupt = (score >= SCORE_INTERRUPTION_THRESHOLD) && !intercept;
                if (DBG) Slog.v(TAG, "canInterrupt=" + canInterrupt + " intercept=" + intercept);
                if (DBG || intercept) Slog.v(TAG,
                        "pkg=" + pkg + " canInterrupt=" + canInterrupt + " intercept=" + intercept);
                synchronized (mNotificationList) {
                    final StatusBarNotification n = new StatusBarNotification(
                            pkg, opPkg, id, tag, callingUid, callingPid, score, notification,