Log notification flags

This commit is contained in:
José Rebelo
2026-06-17 21:07:44 +01:00
parent 397088b289
commit 28f8682335
@@ -1129,13 +1129,14 @@ public class NotificationListener extends NotificationListenerService {
private void logNotification(StatusBarNotification sbn, boolean posted) { private void logNotification(StatusBarNotification sbn, boolean posted) {
LOG.debug( LOG.debug(
"Notification {} {}: packageName={}, when={}, priority={}, category={}", "Notification {} {}: packageName={}, when={}, priority={}, category={}, flags={}",
sbn.getId(), sbn.getId(),
posted ? "posted" : "removed", posted ? "posted" : "removed",
sbn.getPackageName(), sbn.getPackageName(),
sbn.getNotification().when, sbn.getNotification().when,
sbn.getNotification().priority, sbn.getNotification().priority,
sbn.getNotification().category sbn.getNotification().category,
sbn.getNotification().flags
); );
} }