summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohn Spurlock <jspurlock@google.com>2015-05-11 11:15:35 -0400
committerJohn Spurlock <jspurlock@google.com>2015-05-11 11:19:55 -0400
commitcfc66e3339266309576b99fe6d50daceea9346b0 (patch)
tree0e137268f01bbb7cdf61cbfba2f4bae22078208e
parentdf2e2809bf8fd2b4d617196c50fa486aa21583e8 (diff)
downloadframeworks_base-cfc66e3339266309576b99fe6d50daceea9346b0.zip
frameworks_base-cfc66e3339266309576b99fe6d50daceea9346b0.tar.gz
frameworks_base-cfc66e3339266309576b99fe6d50daceea9346b0.tar.bz2
Add new metrics categories for the two notification access screens.
Bug: 20916418 Change-Id: Iafcaccaa465a2f121a6a1a2ba54b122173e45dc6
-rw-r--r--core/java/com/android/internal/logging/MetricsLogger.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/core/java/com/android/internal/logging/MetricsLogger.java b/core/java/com/android/internal/logging/MetricsLogger.java
index 69fab0d..cf25cef 100644
--- a/core/java/com/android/internal/logging/MetricsLogger.java
+++ b/core/java/com/android/internal/logging/MetricsLogger.java
@@ -27,7 +27,6 @@ import android.view.View;
*/
public class MetricsLogger implements 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_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_AIRPLANE_TOGGLE = 177;
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 {
if (Build.IS_DEBUGGABLE && category == VIEW_UNKNOWN) {