mirror of
https://github.com/oxen-io/session-android.git
synced 2025-06-09 11:28: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);
|
Intent intent = new Intent(this, WebRtcCallService.class);
|
||||||
|
|
||||||
|
AudioManager audioManager = ServiceUtil.getAudioManager(this);
|
||||||
|
audioManager.setSpeakerphoneOn(false);
|
||||||
|
|
||||||
if (isOutgoing) {
|
if (isOutgoing) {
|
||||||
intent.setAction(ACTION_START_OUTGOING_CALL);
|
intent.setAction(ACTION_START_OUTGOING_CALL);
|
||||||
activePeer.dialing(callId);
|
activePeer.dialing(callId);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user