Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit ce10d7a5 authored by Chris Wren's avatar Chris Wren Committed by Android Git Automerger
Browse files

am 1bd310e1: Merge "import more metrics enums" into mnc-dev

* commit '1bd310e1':
  import more metrics enums
parents f075a764 1bd310e1
Loading
Loading
Loading
Loading
+12 −0
Original line number Diff line number Diff line
@@ -250,6 +250,18 @@ public interface MetricsConstants {
    public static final int OVERVIEW_ACTIVITY = 224;
    public static final int ABOUT_LEGAL_SETTINGS = 225;
    public static final int ACTION_SEARCH_RESULTS = 226;
    public static final int TUNER = 227;
    public static final int TUNER_QS = 228;
    public static final int TUNER_DEMO_MODE = 229;
    public static final int TUNER_QS_REORDER = 230;
    public static final int TUNER_QS_ADD = 231;
    public static final int TUNER_QS_REMOVE = 232;
    public static final int TUNER_STATUS_BAR_ENABLE = 233;
    public static final int TUNER_STATUS_BAR_DISABLE = 234;
    public static final int TUNER_DEMO_MODE_ENABLED = 235;
    public static final int TUNER_DEMO_MODE_ON = 236;
    public static final int TUNER_BATTERY_PERCENTAGE = 237;
    public static final int FUELGAUGE_INACTIVE_APPS = 238;

    // These constants must match those in the analytic pipeline, do not edit.
    // Add temporary values to the top of MetricsLogger instead.
+1 −14
Original line number Diff line number Diff line
@@ -27,20 +27,7 @@ import android.view.View;
 */
public class MetricsLogger implements MetricsConstants {
    // Temporary constants go here, to await migration to MetricsConstants.
    // next value is 238;

    public static final int TUNER = 227;
    public static final int TUNER_QS = 228;
    public static final int TUNER_DEMO_MODE = 229;

    public static final int TUNER_QS_REORDER = 230;
    public static final int TUNER_QS_ADD = 231;
    public static final int TUNER_QS_REMOVE = 232;
    public static final int TUNER_STATUS_BAR_ENABLE = 233;
    public static final int TUNER_STATUS_BAR_DISABLE = 234;
    public static final int TUNER_DEMO_MODE_ENABLED = 235;
    public static final int TUNER_DEMO_MODE_ON = 236;
    public static final int TUNER_BATTERY_PERCENTAGE = 237;
    // next value is 239;

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