adding a null check at the account picker during calls

This commit is contained in:
tibbi
2020-06-18 22:45:40 +02:00
parent 580bdb545e
commit 613de55ef9

View File

@ -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)
}
}
}