summaryrefslogtreecommitdiff
path: root/proto/src
diff options
context:
space:
mode:
authorBeth Thibodeau <ethibodeau@google.com>2019-05-16 12:51:20 -0400
committerBeth Thibodeau <ethibodeau@google.com>2019-05-28 16:34:14 -0400
commit4b05fbcf49873f689e970a33ce8a1b4e3f923127 (patch)
tree9402472bcb0c387a61aaafd94f9ef42cdfd9aba3 /proto/src
parent7babaf9060654543cc1804bbe06640eaf4c29cf4 (diff)
Add logging for media notification seekbar
Also includes some minor fixes and improvements: - Only update visibility of seekbar/scrubber if it changed - Switching between seekable and not seekable media will update the scrubber visibility - Switching from seekbar to none will not restart the timer Fixes: 132631846 Test: manual, atest com.android.systemui.statusbar.notification.row.wrapper.NotificationMediaTemplateViewWrapperTest Change-Id: I158670119ad0742cf6a2387e08d54e548ee14ef5
Diffstat (limited to 'proto/src')
-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 30619810a6cb..0f0e6f9fb446 100644
--- a/proto/src/metrics_constants/metrics_constants.proto
+++ b/proto/src/metrics_constants/metrics_constants.proto
@@ -7379,6 +7379,15 @@ message MetricsEvent {
// Custom tag for NotificationItem. Hash of the NAS that made adjustments.
FIELD_NOTIFICATION_ASSISTANT_SERVICE_HASH = 1742;
+ // Report interactions with seekbar on media notifications
+ // OPEN: Seekbar is visible
+ // CLOSE: Seekbar is not visible
+ // DETAIL: Seekbar scrubber enabled / disabled
+ // Subtype: 0 disabled, cannot seek; 1 enabled, can seek
+ // UPDATE: Scrubber was moved by user
+ // CATEGORY: NOTIFICATION
+ MEDIA_NOTIFICATION_SEEKBAR = 1743;
+
// ---- End Q Constants, all Q constants go above this line ----
// Add new aosp constants above this line.
// END OF AOSP CONSTANTS