This commit is contained in:
Mysochenko Yuriy
2022-05-11 17:23:46 +03:00
parent c65cc9574d
commit 0b38486169
2 changed files with 1 additions and 3 deletions

View File

@ -25,7 +25,7 @@ class CallManager {
fun reject() {
if (call != null) {
if (call!!.getStateCompat() == Call.STATE_RINGING) {
if (getState() == Call.STATE_RINGING) {
call!!.reject(false, null)
} else {
call!!.disconnect()