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,10 +267,12 @@ class CallActivity : SimpleActivity() {
} }
private fun showPhoneAccountPicker() { private fun showPhoneAccountPicker() {
if (callContact != null) {
getHandleToUse(intent, callContact!!.number) { handle -> getHandleToUse(intent, callContact!!.number) { handle ->
CallManager.call?.phoneAccountSelected(handle, false) CallManager.call?.phoneAccountSelected(handle, false)
} }
} }
}
private fun endCall() { private fun endCall() {
CallManager.reject() CallManager.reject()