mirror of
https://codeberg.org/Freeyourgadget/Gadgetbridge.git
synced 2026-07-31 07:44:24 +02:00
Log notification flags
This commit is contained in:
+3
-2
@@ -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
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user