From 4e74341d8f41f0b968eea1722072d3c68ff98db9 Mon Sep 17 00:00:00 2001 From: Juha Heinanen Date: Thu, 19 Feb 2026 04:57:03 +0200 Subject: [PATCH] Always use HIGH_CHANNEL_ID for incoming call notification --- app/src/main/kotlin/com/tutpro/baresip/BaresipService.kt | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/app/src/main/kotlin/com/tutpro/baresip/BaresipService.kt b/app/src/main/kotlin/com/tutpro/baresip/BaresipService.kt index 4d9662da..1a7e07fd 100644 --- a/app/src/main/kotlin/com/tutpro/baresip/BaresipService.kt +++ b/app/src/main/kotlin/com/tutpro/baresip/BaresipService.kt @@ -919,7 +919,7 @@ class BaresipService: Service() { startActivity(newIntent) return } - val channelId = if (shouldVibrate()) HIGH_CHANNEL_ID else MEDIUM_CHANNEL_ID + val channelId = HIGH_CHANNEL_ID val callerNumber = peerUri.split(":")[1].split("@")[0] if (shouldStartRinging(channelId, callerNumber)) startRinging() @@ -944,7 +944,6 @@ class BaresipService: Service() { icon = IconCompat.createWithBitmap(callerContact.avatarImage!!.toCircle()) } else if (callerContact is Contact.AndroidContact) { - // AndroidContact has a URI, we must decode it if (callerContact.thumbnailUri != null) { try { val source = ImageDecoder.createSource(contentResolver, @@ -1290,7 +1289,6 @@ class BaresipService: Service() { icon = IconCompat.createWithBitmap(senderContact.avatarImage!!.toCircle()) } else if (senderContact is Contact.AndroidContact) { - // AndroidContact has a URI, we must decode it if (senderContact.thumbnailUri != null) { try { val source = ImageDecoder.createSource(contentResolver,