Enabled DND for all new message notifications by default

This commit is contained in:
M66B
2021-10-20 07:26:49 +02:00
parent 876f3a21ab
commit cdfbe9c76c
3 changed files with 3 additions and 0 deletions

View File

@@ -96,6 +96,7 @@ public class TupleFolderEx extends EntityFolder implements Serializable {
NotificationManager.IMPORTANCE_HIGH);
channel.setGroup(group.getId());
channel.setLockscreenVisibility(Notification.VISIBILITY_PRIVATE);
channel.setBypassDnd(true);
channel.enableLights(true);
nm.createNotificationChannel(channel);
}