From c36203965a27bb68c066f97e30a3cd5f2eb99af9 Mon Sep 17 00:00:00 2001 From: Jason Monk Date: Wed, 30 Mar 2016 15:46:03 -0400 Subject: [PATCH] Add some constants for settings conditionals Bug: 27851236 Change-Id: I3725be01e0d5de13b81f82ec594bed5f95b5bb18 --- proto/src/metrics_constants.proto | 36 +++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) diff --git a/proto/src/metrics_constants.proto b/proto/src/metrics_constants.proto index 8e4bf24c21959..944ab1c2b2c85 100644 --- a/proto/src/metrics_constants.proto +++ b/proto/src/metrics_constants.proto @@ -2080,6 +2080,42 @@ message MetricsEvent { // OS: N SUW_ACCESSIBILITY_TOGGLE_SCREEN_READER = 371; + // ------- Begin N Settings conditionals ----- + // Conditionals are the green bars at the top of the settings dashboard + // All conditionals will have visible/hide events onResume/onPause + // but they will also be used as extra ints in the + // dismiss/expand/collapse/click/button events + + // swipe away conditional + ACTION_SETTINGS_CONDITION_DISMISS = 372; + + // click on collapsed conditional or clicks expand button + ACTION_SETTINGS_CONDITION_EXPAND = 373; + + // click collapse button on expanded conditional + ACTION_SETTINGS_CONDITION_COLLAPSE = 374; + + // click main area of expanded conditional + ACTION_SETTINGS_CONDITION_CLICK = 375; + + // click a direct button on expanded conditional + ACTION_SETTINGS_CONDITION_BUTTON = 376; + + // Airplane mode on + SETTINGS_CONDITION_AIRPLANE_MODE = 377; + // AKA Data saver on + SETTINGS_CONDITION_BACKGROUND_DATA = 378; + // Battery saver on + SETTINGS_CONDITION_BATTERY_SAVER = 379; + // Cellular data off + SETTINGS_CONDITION_CELLULAR_DATA = 380; + // Do not disturb on + SETTINGS_CONDITION_DND = 381; + // Hotspot on + SETTINGS_CONDITION_HOTSPOT = 382; + // Work profile off + SETTINGS_CONDITION_WORK_MODE = 383; + // Add new aosp constants above this line. // END OF AOSP CONSTANTS }