From deafcb1abb2c8e339fc53c3ef3f6b82924ea119a Mon Sep 17 00:00:00 2001 From: M66B Date: Fri, 2 Feb 2024 09:34:44 +0100 Subject: [PATCH] Respect system DND setting --- app/src/main/java/eu/faircode/email/NotificationHelper.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/eu/faircode/email/NotificationHelper.java b/app/src/main/java/eu/faircode/email/NotificationHelper.java index d8a7be4db0..85d6255fde 100644 --- a/app/src/main/java/eu/faircode/email/NotificationHelper.java +++ b/app/src/main/java/eu/faircode/email/NotificationHelper.java @@ -138,7 +138,7 @@ class NotificationHelper { notification.enableLights(true); notification.setLightColor(Color.YELLOW); notification.setLockscreenVisibility(Notification.VISIBILITY_PRIVATE); - notification.setBypassDnd(true); + //notification.setBypassDnd(true); createNotificationChannel(nm, notification); NotificationChannel progress = new NotificationChannel(