Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 25eb1b39 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Add metrics logging constants for notification location."

parents 07329114 3757d85e
Loading
Loading
Loading
Loading
+18 −0
Original line number Original line Diff line number Diff line
@@ -232,6 +232,17 @@ message MetricsEvent {
    BLOCKING_HELPER_CLICK_UNDO = 7;
    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.
  // Known visual elements: views or controls.
  enum View {
  enum View {
    // Unknown view
    // Unknown view
@@ -6824,6 +6835,13 @@ message MetricsEvent {
    // OS: Q
    // OS: Q
    SETTINGS_ADAPTIVE_SLEEP = 1628;
    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 ----
    // ---- End Q Constants, all Q constants go above this line ----
    // Add new aosp constants above this line.
    // Add new aosp constants above this line.
    // END OF AOSP CONSTANTS
    // END OF AOSP CONSTANTS