diff options
| author | 2019-01-22 21:19:59 +0000 | |
|---|---|---|
| committer | 2019-01-22 21:19:59 +0000 | |
| commit | 25eb1b39d5b996a59038d5f791be3e254cc6dddd (patch) | |
| tree | 7d7a361e3cfa5d91756086c16b2ed877f27a52a7 | |
| parent | 073291142a796ecb4fbf47a619d7919bf8cc4bc3 (diff) | |
| parent | 3757d85eb868a4ed1221eca8b042c8c764e0f034 (diff) | |
Merge "Add metrics logging constants for notification location."
| -rw-r--r-- | proto/src/metrics_constants/metrics_constants.proto | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/proto/src/metrics_constants/metrics_constants.proto b/proto/src/metrics_constants/metrics_constants.proto index f56320f5d2d5..48eaa087e82b 100644 --- a/proto/src/metrics_constants/metrics_constants.proto +++ b/proto/src/metrics_constants/metrics_constants.proto @@ -232,6 +232,17 @@ message MetricsEvent { BLOCKING_HELPER_CLICK_UNDO = 7; } + // The (visual) location of a Notification. + enum NotificationLocation { + LOCATION_UNKNOWN = 0; + LOCATION_FIRST_HEADS_UP = 1; // visible heads-up + LOCATION_HIDDEN_TOP = 2; // hidden/scrolled away on the top + LOCATION_MAIN_AREA = 3; // visible in the shade + LOCATION_BOTTOM_STACK_PEEKING = 4; // in the bottom stack, and peeking + LOCATION_BOTTOM_STACK_HIDDEN = 5; // in the bottom stack, and hidden + LOCATION_GONE = 6; // the view isn't laid out at all + } + // Known visual elements: views or controls. enum View { // Unknown view @@ -6824,6 +6835,13 @@ message MetricsEvent { // OS: Q SETTINGS_ADAPTIVE_SLEEP = 1628; + // Tagged data for SMART_REPLY_VISIBLE and NOTIFICATION_ITEM_ACTION. + // The UI location of the notification containing the smart suggestions. + // This is a NotificationLocation object (see the NotificationLocation + // enum). + // OS: Q + NOTIFICATION_LOCATION = 1629; + // ---- End Q Constants, all Q constants go above this line ---- // Add new aosp constants above this line. // END OF AOSP CONSTANTS |