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

Commit 70c173a5 authored by Zak Cohen's avatar Zak Cohen
Browse files

Add string representations for effects hints in ZenLog.

Test: local compile
Change-Id: Ia78ae359630a0f286ebd07698dcde82eb81e496b
parent 23789bc9
Loading
Loading
Loading
Loading
+6 −1
Original line number Diff line number Diff line
@@ -186,7 +186,12 @@ public class ZenLog {
    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);
        }
    }