Fixed audio route changes in outgoing call not working with TelecomManager enabled
This commit is contained in:
parent
c40b2e753e
commit
2df68f8cf2
1 changed files with 2 additions and 2 deletions
|
@ -70,8 +70,8 @@ class NativeCallWrapper(var callId: String) : Connection() {
|
||||||
|
|
||||||
val call = getCall()
|
val call = getCall()
|
||||||
if (call != null) {
|
if (call != null) {
|
||||||
if (getState() != STATE_ACTIVE) {
|
if (getState() != STATE_ACTIVE && getState() != STATE_DIALING) {
|
||||||
Log.w("[Connection] Call state isn't STATE_ACTIVE, ignoring mute mic & audio route directive from TelecomManager")
|
Log.w("[Connection] Call state isn't STATE_ACTIVE or STATE_DIALING, ignoring mute mic & audio route directive from TelecomManager")
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue