diff options
| author | 2014-05-05 09:22:57 -0400 | |
|---|---|---|
| committer | 2014-05-05 09:22:57 -0400 | |
| commit | c8d7ab9ff9f1ca0790d6fd9b9a2076c3eb63a795 (patch) | |
| tree | cd6f9ed965d61600923b55ae0f1a9d10b4bfee82 | |
| parent | dab404938368fc5bb0a3d9b91135890ab31d0b0c (diff) | |
Log all notification interceptions.
Change-Id: I036a4b5eb7c5a3ce2addb0a16d9d6806e3952929
| -rw-r--r-- | services/core/java/com/android/server/notification/NotificationManagerService.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/services/core/java/com/android/server/notification/NotificationManagerService.java b/services/core/java/com/android/server/notification/NotificationManagerService.java index 2e52983a3701..6ceee5c1114c 100644 --- a/services/core/java/com/android/server/notification/NotificationManagerService.java +++ b/services/core/java/com/android/server/notification/NotificationManagerService.java @@ -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, |