From 9d949c8a0bb01312c42c147e22bebaedb805b88a Mon Sep 17 00:00:00 2001 From: Juha Heinanen Date: Thu, 19 Feb 2026 05:08:58 +0200 Subject: [PATCH] Minor edits --- app/src/main/kotlin/com/tutpro/baresip/BaresipService.kt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/src/main/kotlin/com/tutpro/baresip/BaresipService.kt b/app/src/main/kotlin/com/tutpro/baresip/BaresipService.kt index 5b9f6b6e..001d4c3f 100644 --- a/app/src/main/kotlin/com/tutpro/baresip/BaresipService.kt +++ b/app/src/main/kotlin/com/tutpro/baresip/BaresipService.kt @@ -1539,7 +1539,7 @@ class BaresipService: Service() { }, 500L, 2000L) } } - + private fun shouldStartRinging(callerNumber: String): Boolean { val currentFilter = nm.currentInterruptionFilter if (currentFilter <= NotificationManager.INTERRUPTION_FILTER_ALL) @@ -1564,7 +1564,7 @@ class BaresipService: Service() { @Suppress("DEPRECATION") Settings.System.getInt(contentResolver, Settings.System.VIBRATE_WHEN_RINGING, 0) != 0 } catch (_: Exception) { - // If the setting can't be read, default to FALSE to be non-intrusive. + // If the setting can't be read, default to FALSE. false } }