Add warning if unexpected state.
This commit is contained in:
parent
cd7345aa6b
commit
767ead019a
|
@ -205,7 +205,9 @@ internal class MxCallImpl(
|
||||||
Timber.tag(loggerTag.value).v("select answer $callId")
|
Timber.tag(loggerTag.value).v("select answer $callId")
|
||||||
if (!isOutgoing) return
|
if (!isOutgoing) return
|
||||||
// This is an outgoing call, select the remote client that answered.
|
// This is an outgoing call, select the remote client that answered.
|
||||||
// state is still DIALING.
|
if (state != CallState.Dialing) {
|
||||||
|
Timber.tag(loggerTag.value).w("Expected state is CallState.Dialing got $state.")
|
||||||
|
}
|
||||||
CallSelectAnswerContent(
|
CallSelectAnswerContent(
|
||||||
callId = callId,
|
callId = callId,
|
||||||
partyId = ourPartyId,
|
partyId = ourPartyId,
|
||||||
|
|
Loading…
Reference in New Issue