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)