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

Commit 31f6e2dc authored by John Spurlock's avatar John Spurlock Committed by Android Git Automerger
Browse files

am e1e7b05b: am 4cf2ae9c: Merge "Add new metrics categories for the two...

am e1e7b05b: am 4cf2ae9c: Merge "Add new metrics categories for the two notification access screens." into mnc-dev

* commit 'e1e7b05b':
  Add new metrics categories for the two notification access screens.
parents 9feba6e7 e1e7b05b
Loading
Loading
Loading
Loading
+2 −1
Original line number Original line Diff line number Diff line
@@ -27,7 +27,6 @@ import android.view.View;
 */
 */
public class MetricsLogger implements MetricsConstants {
public class MetricsLogger implements MetricsConstants {
    // These constants are temporary, they should migrate to MetricsConstants.
    // These constants are temporary, they should migrate to MetricsConstants.
    // next value is 179;


    public static final int NOTIFICATION_ZEN_MODE_SCHEDULE_RULE = 144;
    public static final int NOTIFICATION_ZEN_MODE_SCHEDULE_RULE = 144;
    public static final int NOTIFICATION_ZEN_MODE_EXTERNAL_RULE = 145;
    public static final int NOTIFICATION_ZEN_MODE_EXTERNAL_RULE = 145;
@@ -64,6 +63,8 @@ public class MetricsLogger implements MetricsConstants {
    public static final int ACTION_ZEN_ENABLE_RULE = 176;
    public static final int ACTION_ZEN_ENABLE_RULE = 176;
    public static final int ACTION_AIRPLANE_TOGGLE = 177;
    public static final int ACTION_AIRPLANE_TOGGLE = 177;
    public static final int ACTION_CELL_DATA_TOGGLE = 178;
    public static final int ACTION_CELL_DATA_TOGGLE = 178;
    public static final int NOTIFICATION_ACCESS = 179;
    public static final int NOTIFICATION_ZEN_MODE_ACCESS = 180;


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