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

Commit 29e594c5 authored by John Spurlock's avatar John Spurlock Committed by Android (Google) Code Review
Browse files

Merge "Log all notification interceptions."

parents efc1a289 c8d7ab9f
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,