OSDN Git Service

Merge cherrypicks of [3484108, 3483651] into oc-m2-release
authorandroid-build-team Robot <android-build-team-robot@google.com>
Fri, 19 Jan 2018 18:51:21 +0000 (18:51 +0000)
committerandroid-build-team Robot <android-build-team-robot@google.com>
Fri, 19 Jan 2018 18:51:21 +0000 (18:51 +0000)
Change-Id: Ibeefb03c27e7f04dddd770533c2c8fd4ac52df0b

proto/src/metrics_constants.proto

index fef8696..28f26c6 100644 (file)
@@ -4586,6 +4586,31 @@ message MetricsEvent {
 
     // ---- End O-MR1 Constants, all O-MR1 constants go above this line ----
 
+    // ACTION: Stop an app and turn on background check
+    // CATEGORY: SETTINGS
+    // OS: P
+    ACTION_APP_STOP_AND_BACKGROUND_CHECK = 1233;
+
+    // FIELD: The action type for each anomaly
+    // CATEGORY: SETTINGS
+    // OS: P
+    FIELD_ANOMALY_ACTION_TYPE = 1234;
+
+    // OPEN: Settings -> Battery -> Wakelock anomaly
+    // CATEGORY: SETTINGS
+    // OS: P
+    ANOMALY_TYPE_WAKELOCK = 1235;
+
+    // OPEN: Settings -> Battery -> Wakeup alarm anomaly
+    // CATEGORY: SETTINGS
+    // OS: P
+    ANOMALY_TYPE_WAKEUP_ALARM = 1236;
+
+    // OPEN: Settings -> Battery -> Unoptimized bt anomaly
+    // CATEGORY: SETTINGS
+    // OS: P
+    ANOMALY_TYPE_UNOPTIMIZED_BT = 1237;
+
     // Add new aosp constants above this line.
     // END OF AOSP CONSTANTS
   }