mirror of
https://github.com/oxen-io/session-android.git
synced 2025-06-09 07:58:34 +00:00
Ensure speaker off at start of any call
This commit is contained in:
parent
3d7cffef2b
commit
d467c04749
@ -1668,6 +1668,9 @@ public class WebRtcCallService extends Service implements CallManager.Observer,
|
||||
|
||||
Intent intent = new Intent(this, WebRtcCallService.class);
|
||||
|
||||
AudioManager audioManager = ServiceUtil.getAudioManager(this);
|
||||
audioManager.setSpeakerphoneOn(false);
|
||||
|
||||
if (isOutgoing) {
|
||||
intent.setAction(ACTION_START_OUTGOING_CALL);
|
||||
activePeer.dialing(callId);
|
||||
|
Loading…
x
Reference in New Issue
Block a user