diff --git a/app/src/main/java/com/centralcloud/oncall/msg/NotificationService.kt b/app/src/main/java/com/centralcloud/oncall/msg/NotificationService.kt index 4dfb944d..e425f251 100644 --- a/app/src/main/java/com/centralcloud/oncall/msg/NotificationService.kt +++ b/app/src/main/java/com/centralcloud/oncall/msg/NotificationService.kt @@ -381,6 +381,7 @@ class NotificationService(val context: Context) { PRIORITY_HIGH -> { val channel = NotificationChannel(channelId, context.getString(R.string.common_priority_high_name), NotificationManager.IMPORTANCE_HIGH) channel.enableVibration(true) + channel.setBypassDnd(true) // Bypass DND but do not play insistent alarm channel.vibrationPattern = longArrayOf( pause, 100, pause, 100, pause, 100, pause, 2000