mirror of
https://github.com/oxen-io/session-android.git
synced 2024-12-24 16:57:50 +00:00
Don't enable speakerphone when video enabled if headset on
Fixes #6431 // FREEBIE
This commit is contained in:
parent
3dfc72dad0
commit
c69efbffd2
@ -748,7 +748,11 @@ public class WebRtcCallService extends Service implements InjectableType, PeerCo
|
||||
else this.lockManager.updatePhoneState(LockManager.PhoneState.IN_CALL);
|
||||
}
|
||||
|
||||
if (localVideoEnabled && !audioManager.isSpeakerphoneOn() && !audioManager.isBluetoothScoOn()) {
|
||||
if (localVideoEnabled &&
|
||||
!audioManager.isSpeakerphoneOn() &&
|
||||
!audioManager.isBluetoothScoOn() &&
|
||||
!audioManager.isWiredHeadsetOn())
|
||||
{
|
||||
audioManager.setSpeakerphoneOn(true);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user