Skip to content

Commit 1bd310e

Browse files
cwrenAndroid (Google) Code Review
authored andcommitted
Merge "import more metrics enums" into mnc-dev
2 parents 3081394 + de061b8 commit 1bd310e

2 files changed

Lines changed: 13 additions & 14 deletions

File tree

core/java/com/android/internal/logging/MetricsConstants.java

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -250,6 +250,18 @@ public interface MetricsConstants {
250250
public static final int OVERVIEW_ACTIVITY = 224;
251251
public static final int ABOUT_LEGAL_SETTINGS = 225;
252252
public static final int ACTION_SEARCH_RESULTS = 226;
253+
public static final int TUNER = 227;
254+
public static final int TUNER_QS = 228;
255+
public static final int TUNER_DEMO_MODE = 229;
256+
public static final int TUNER_QS_REORDER = 230;
257+
public static final int TUNER_QS_ADD = 231;
258+
public static final int TUNER_QS_REMOVE = 232;
259+
public static final int TUNER_STATUS_BAR_ENABLE = 233;
260+
public static final int TUNER_STATUS_BAR_DISABLE = 234;
261+
public static final int TUNER_DEMO_MODE_ENABLED = 235;
262+
public static final int TUNER_DEMO_MODE_ON = 236;
263+
public static final int TUNER_BATTERY_PERCENTAGE = 237;
264+
public static final int FUELGAUGE_INACTIVE_APPS = 238;
253265

254266
// These constants must match those in the analytic pipeline, do not edit.
255267
// Add temporary values to the top of MetricsLogger instead.

core/java/com/android/internal/logging/MetricsLogger.java

Lines changed: 1 addition & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -27,20 +27,7 @@
2727
*/
2828
public class MetricsLogger implements MetricsConstants {
2929
// Temporary constants go here, to await migration to MetricsConstants.
30-
// next value is 238;
31-
32-
public static final int TUNER = 227;
33-
public static final int TUNER_QS = 228;
34-
public static final int TUNER_DEMO_MODE = 229;
35-
36-
public static final int TUNER_QS_REORDER = 230;
37-
public static final int TUNER_QS_ADD = 231;
38-
public static final int TUNER_QS_REMOVE = 232;
39-
public static final int TUNER_STATUS_BAR_ENABLE = 233;
40-
public static final int TUNER_STATUS_BAR_DISABLE = 234;
41-
public static final int TUNER_DEMO_MODE_ENABLED = 235;
42-
public static final int TUNER_DEMO_MODE_ON = 236;
43-
public static final int TUNER_BATTERY_PERCENTAGE = 237;
30+
// next value is 239;
4431

4532
public static void visible(Context context, int category) throws IllegalArgumentException {
4633
if (Build.IS_DEBUGGABLE && category == VIEW_UNKNOWN) {

0 commit comments

Comments
 (0)