From 20d1db4ebb93cc1313b8069af4a251e2374c5a02 Mon Sep 17 00:00:00 2001 From: Salvador Martinez Date: Tue, 14 May 2019 10:38:20 -0700 Subject: [PATCH] Add metrics constants for dark ui dialog This just adds some constants needed for a new dialog that shows up on the first time dark theme is toggled. Test: none, is a metrics change Bug: 132695689 Change-Id: Ic7527879003a7d883e74cb00792e69655e5ec9ad --- core/proto/android/app/settings_enums.proto | 6 ++++++ proto/src/metrics_constants/metrics_constants.proto | 6 +++++- 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/core/proto/android/app/settings_enums.proto b/core/proto/android/app/settings_enums.proto index 36eb4c46faa87..4874c4199eaa4 100644 --- a/core/proto/android/app/settings_enums.proto +++ b/core/proto/android/app/settings_enums.proto @@ -2374,6 +2374,12 @@ enum PageId { // Settings > Apps and notifications > Notifications > Gentle notifications GENTLE_NOTIFICATIONS_SCREEN = 1715; + // OPEN: Settings > Display > Dark Theme + // CATEGORY: SETTINGS + // OS: Q + // Note: Only shows up on first time toggle + DIALOG_DARK_UI_INFO = 1740; + // OPEN: Settings > System > Gestures > Global Actions Panel // CATEGORY: SETTINGS // OS: Q diff --git a/proto/src/metrics_constants/metrics_constants.proto b/proto/src/metrics_constants/metrics_constants.proto index c59b16cf3e4cd..261646692c635 100644 --- a/proto/src/metrics_constants/metrics_constants.proto +++ b/proto/src/metrics_constants/metrics_constants.proto @@ -7365,7 +7365,11 @@ message MetricsEvent { // OS: Q FIELD_EMERGENCY_DIALER_DISCONNECT_CAUSE = 1739; - // ---- Skipping ahead to avoid conflicts between master and release branches. + // OPEN: Settings > Display > Dark Theme + // CATEGORY: SETTINGS + // OS: Q + // Note: Only shows up on first time toggle + DIALOG_DARK_UI_INFO = 1740; // ---- End Q Constants, all Q constants go above this line ---- // Add new aosp constants above this line.