Merge "NoMan: Log canceled notifications" into lmp-mr1-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
55abbfa0ed
@@ -71,6 +71,8 @@ option java_package com.android.server
|
|||||||
27520 notification_clicked (key|3)
|
27520 notification_clicked (key|3)
|
||||||
# when a notification action button has been clicked
|
# when a notification action button has been clicked
|
||||||
27521 notification_action_clicked (key|3),(action_index|1)
|
27521 notification_action_clicked (key|3),(action_index|1)
|
||||||
|
# when a notification has been canceled
|
||||||
|
27530 notification_canceled (key|3),(reason|1)
|
||||||
|
|
||||||
# ---------------------------
|
# ---------------------------
|
||||||
# Watchdog.java
|
# Watchdog.java
|
||||||
|
|||||||
@@ -2372,6 +2372,8 @@ public class NotificationManagerService extends SystemService {
|
|||||||
|
|
||||||
// Save it for users of getHistoricalNotifications()
|
// Save it for users of getHistoricalNotifications()
|
||||||
mArchive.record(r.sbn);
|
mArchive.record(r.sbn);
|
||||||
|
|
||||||
|
EventLogTags.writeNotificationCanceled(r.getKey(), reason);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in New Issue
Block a user