From fc59a57f3bed32c3c5cdf5b9906d0e361f7982ed Mon Sep 17 00:00:00 2001 From: Lei Yu Date: Tue, 10 Apr 2018 10:52:08 -0700 Subject: [PATCH 1/2] Add new metric for anomaly been ignored Bug: 77477987 Test: Build Change-Id: I65a7387a7d0456a5d3605d91c421329d15a296aa --- proto/src/metrics_constants.proto | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/proto/src/metrics_constants.proto b/proto/src/metrics_constants.proto index daf4e9beb21d3..8dff27a3b667c 100644 --- a/proto/src/metrics_constants.proto +++ b/proto/src/metrics_constants.proto @@ -5644,6 +5644,10 @@ message MetricsEvent { // OS: P ACTION_VOLUME_SETTINGS = 1386; + // ACTION: Settings > Anomaly receiver > Anomaly ignored, don't show up in battery settings + // CATEGORY: SETTINGS + // OS: P + ACTION_ANOMALY_IGNORED = 1387; // ---- End P Constants, all P constants go above this line ---- // Add new aosp constants above this line. From 97a132133bd41ec7604d7d70d12cbff3b3fe8992 Mon Sep 17 00:00:00 2001 From: Lei Yu Date: Wed, 11 Apr 2018 15:45:31 -0700 Subject: [PATCH 2/2] Add metrics for battery settings 1. ACTION_TIP_OPEN_BATTERY_SAVER_PAGE 2. FIELD_APP_VERSION_CODE Bug: 77919142 Bug: 77874407 Test: Build Change-Id: Idb4d304e9c6b078b083871d8b787fea39480c062 --- proto/src/metrics_constants.proto | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/proto/src/metrics_constants.proto b/proto/src/metrics_constants.proto index 8dff27a3b667c..72496d27e0913 100644 --- a/proto/src/metrics_constants.proto +++ b/proto/src/metrics_constants.proto @@ -5649,6 +5649,16 @@ message MetricsEvent { // OS: P ACTION_ANOMALY_IGNORED = 1387; + // ACTION: Settings > Battery settings > Battery tip > Open battery saver page + // CATEGORY: SETTINGS + // OS: P + ACTION_TIP_OPEN_BATTERY_SAVER_PAGE = 1388; + + // FIELD: the version code of an app + // CATEGORY: SETTINGS + // OS: P + FIELD_APP_VERSION_CODE = 1389; + // ---- End P Constants, all P constants go above this line ---- // Add new aosp constants above this line. // END OF AOSP CONSTANTS