diff --git a/app/src/main/kotlin/com/simplemobiletools/dialer/activities/CallActivity.kt b/app/src/main/kotlin/com/simplemobiletools/dialer/activities/CallActivity.kt index 5989de58..a1ec9974 100644 --- a/app/src/main/kotlin/com/simplemobiletools/dialer/activities/CallActivity.kt +++ b/app/src/main/kotlin/com/simplemobiletools/dialer/activities/CallActivity.kt @@ -267,8 +267,10 @@ class CallActivity : SimpleActivity() { } private fun showPhoneAccountPicker() { - getHandleToUse(intent, callContact!!.number) { handle -> - CallManager.call?.phoneAccountSelected(handle, false) + if (callContact != null) { + getHandleToUse(intent, callContact!!.number) { handle -> + CallManager.call?.phoneAccountSelected(handle, false) + } } }