From 5c746bd4b930e12fe502ee61ae66bf952b0dfd09 Mon Sep 17 00:00:00 2001 From: Mikael Hugo Date: Fri, 15 May 2026 06:48:35 +0200 Subject: [PATCH] Enable screen blink (LED) for PRIORITY_HIGH notifications PRIORITY_HIGH now shows the notification LED / screen blink alongside the vibration and DND bypass, making it more visible when the phone is face-down or in a pocket. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> --- .../main/java/com/centralcloud/oncall/msg/NotificationService.kt | 1 + 1 file changed, 1 insertion(+) 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 e425f251..6c4e0af9 100644 --- a/app/src/main/java/com/centralcloud/oncall/msg/NotificationService.kt +++ b/app/src/main/java/com/centralcloud/oncall/msg/NotificationService.kt @@ -380,6 +380,7 @@ class NotificationService(val context: Context) { PRIORITY_LOW -> NotificationChannel(channelId, context.getString(R.string.common_priority_low_name), NotificationManager.IMPORTANCE_LOW) PRIORITY_HIGH -> { val channel = NotificationChannel(channelId, context.getString(R.string.common_priority_high_name), NotificationManager.IMPORTANCE_HIGH) + channel.enableLights(true) channel.enableVibration(true) channel.setBypassDnd(true) // Bypass DND but do not play insistent alarm channel.vibrationPattern = longArrayOf(