summaryrefslogtreecommitdiff
path: root/proto
diff options
context:
space:
mode:
authorWill Brockman <brockman@google.com>2019-06-14 14:55:31 -0400
committerWill Brockman <brockman@google.com>2019-06-14 19:10:02 +0000
commitc22772c36ae49a9284cc0465469293dbbaa93a6e (patch)
tree1cc998790c5f2bf3a693eb95302b8867d4cfbb84 /proto
parent7fc7f9ce2211e161fc8f009302ded5a78daedd17 (diff)
Log usage of addPerson() and setStyle() in notifications.
Added Tron logging to StatusBarNotification.getLogMaker() so it will be present in most logs about the notification. Change-Id: I720706d37c663f2018bdfe2153ad180970166c90 Test: atest android.service.notification.StatusBarNotificationTest Bug: 135180518
Diffstat (limited to 'proto')
-rw-r--r--proto/src/metrics_constants/metrics_constants.proto9
1 files changed, 9 insertions, 0 deletions
diff --git a/proto/src/metrics_constants/metrics_constants.proto b/proto/src/metrics_constants/metrics_constants.proto
index 0f0e6f9fb446..a2bc0d4e2f6c 100644
--- a/proto/src/metrics_constants/metrics_constants.proto
+++ b/proto/src/metrics_constants/metrics_constants.proto
@@ -7388,6 +7388,15 @@ message MetricsEvent {
// CATEGORY: NOTIFICATION
MEDIA_NOTIFICATION_SEEKBAR = 1743;
+ // Custom tag for StatusBarNotification. Length of
+ // Notification.extras[EXTRA_PEOPLE_LIST], set by addPerson().
+ FIELD_NOTIFICATION_PEOPLE = 1744;
+
+ // Custom tag for StatusBarNotification. The Java hashcode of
+ // Notification.extras[EXTRA_TEMPLATE], which is a string like
+ // android.app.Notification$MessagingStyle, set by setStyle().
+ FIELD_NOTIFICATION_STYLE = 1745;
+
// ---- End Q Constants, all Q constants go above this line ----
// Add new aosp constants above this line.
// END OF AOSP CONSTANTS