mirror of
https://github.com/SimpleMobileTools/Simple-Dialer.git
synced 2025-06-05 21:49:23 +02:00
adding a null check at the account picker during calls
This commit is contained in:
@ -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)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user