diff --git a/app/src/main/kotlin/com/simplemobiletools/contacts/pro/services/MyIncomingCallService.kt b/app/src/main/kotlin/com/simplemobiletools/contacts/pro/services/MyIncomingCallService.kt index 0c6f6bd8..efc70b50 100644 --- a/app/src/main/kotlin/com/simplemobiletools/contacts/pro/services/MyIncomingCallService.kt +++ b/app/src/main/kotlin/com/simplemobiletools/contacts/pro/services/MyIncomingCallService.kt @@ -14,12 +14,11 @@ import com.simplemobiletools.contacts.pro.objects.CallManager @TargetApi(Build.VERSION_CODES.M) class MyIncomingCallService : InCallService() { - override fun onCallAdded(call: Call) { super.onCallAdded(call) call.registerCallback(callCallback) - val handle = call.details.handle.toString() + val handle = Uri.decode(call.details.handle.toString()) val callerNumber = if (handle.contains("tel:")) { handle.substringAfter("tel:") } else {