From e92285a580488ccf73f9d32a97c5b7921c6aee79 Mon Sep 17 00:00:00 2001 From: Lei Yu Date: Mon, 12 Mar 2018 11:28:40 -0700 Subject: [PATCH] Add metric for battery tip action Add metrics for different kind of battery actions. Also add a field to specify the type of anomaly. Bug: 73888115 Test: Build Change-Id: I2e4d912a5e25b8fe92ec000d5086e44b0e9f190d --- proto/src/metrics_constants.proto | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/proto/src/metrics_constants.proto b/proto/src/metrics_constants.proto index 62d941a93fb4d..0cc60e3146d78 100644 --- a/proto/src/metrics_constants.proto +++ b/proto/src/metrics_constants.proto @@ -5511,6 +5511,36 @@ message MetricsEvent { // OS: P SETTINGS_PREVENT_RINGING = 1360; + // ACTION: Settings > Battery settings > Battery tip > Open app restriction page + // CATEGORY: SETTINGS + // OS: P + ACTION_TIP_OPEN_APP_RESTRICTION_PAGE = 1361; + + // ACTION: Settings > Battery settings > Battery tip > Restrict app + // CATEGORY: SETTINGS + // OS: P + ACTION_TIP_RESTRICT_APP = 1362; + + // ACTION: Settings > Battery settings > Battery tip > Unrestrict app + // CATEGORY: SETTINGS + // OS: P + ACTION_TIP_UNRESTRICT_APP = 1363; + + // ACTION: Settings > Battery settings > Battery tip > Open smart battery page + // CATEGORY: SETTINGS + // OS: P + ACTION_TIP_OPEN_SMART_BATTERY = 1364; + + // ACTION: Settings > Battery settings > Battery tip > Turn on battery saver + // CATEGORY: SETTINGS + // OS: P + ACTION_TIP_TURN_ON_BATTERY_SAVER = 1365; + + // FIELD: type of anomaly in settings app + // CATEGORY: SETTINGS + // OS: P + FIELD_ANOMALY_TYPE = 1366; + // ---- End P Constants, all P constants go above this line ---- // Add new aosp constants above this line. // END OF AOSP CONSTANTS