Ensure speaker off at start of any call
This commit is contained in:
parent
3d7cffef2b
commit
d467c04749
1 changed files with 3 additions and 0 deletions
|
@ -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…
Add table
Reference in a new issue