Add string representations for effects hints in ZenLog.
Test: local compile
Change-Id: Ia78ae359630a0f286ebd07698dcde82eb81e496b
diff --git a/services/core/java/com/android/server/notification/ZenLog.java b/services/core/java/com/android/server/notification/ZenLog.java
index 207bdba..f7efff0f 100644
--- a/services/core/java/com/android/server/notification/ZenLog.java
+++ b/services/core/java/com/android/server/notification/ZenLog.java
@@ -186,7 +186,12 @@
private static String hintsToString(int hints) {
switch (hints) {
case 0 : return "none";
- case NotificationListenerService.HINT_HOST_DISABLE_EFFECTS : return "disable_effects";
+ case NotificationListenerService.HINT_HOST_DISABLE_EFFECTS:
+ return "disable_effects";
+ case NotificationListenerService.HINT_HOST_DISABLE_CALL_EFFECTS:
+ return "disable_call_effects";
+ case NotificationListenerService.HINT_HOST_DISABLE_NOTIFICATION_EFFECTS:
+ return "disable_notification_effects";
default: return Integer.toString(hints);
}
}