From 8889939b60c1f7afa041968f1c7c3c3e67b642e0 Mon Sep 17 00:00:00 2001 From: Mahendra Liya Date: Thu, 18 May 2023 15:32:05 +0530 Subject: [PATCH] fix: issue #574 --- .../simplemobiletools/dialer/helpers/CallNotificationManager.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/kotlin/com/simplemobiletools/dialer/helpers/CallNotificationManager.kt b/app/src/main/kotlin/com/simplemobiletools/dialer/helpers/CallNotificationManager.kt index 468db997..33bef1e5 100644 --- a/app/src/main/kotlin/com/simplemobiletools/dialer/helpers/CallNotificationManager.kt +++ b/app/src/main/kotlin/com/simplemobiletools/dialer/helpers/CallNotificationManager.kt @@ -85,7 +85,7 @@ class CallNotificationManager(private val context: Context) { val builder = NotificationCompat.Builder(context, channelId) .setSmallIcon(R.drawable.ic_phone_vector) .setContentIntent(openAppPendingIntent) - .setPriority(if (isHighPriority) NotificationCompat.PRIORITY_MAX else NotificationCompat.PRIORITY_DEFAULT) + .setPriority(if (isHighPriority) NotificationManager.IMPORTANCE_HIGH else NotificationCompat.PRIORITY_DEFAULT) .setCategory(Notification.CATEGORY_CALL) .setCustomContentView(collapsedView) .setOngoing(true)