|
|
|
@ -426,7 +426,7 @@ public class WebRtcCallService extends Service implements InjectableType,
|
|
|
|
|
sendMessage(WebRtcViewModel.State.CALL_OUTGOING, recipient, localCameraState, remoteVideoEnabled, bluetoothAvailable, microphoneEnabled);
|
|
|
|
|
lockManager.updatePhoneState(LockManager.PhoneState.IN_CALL);
|
|
|
|
|
audioManager.initializeAudioForCall();
|
|
|
|
|
audioManager.startOutgoingRinger(OutgoingRinger.Type.SONAR);
|
|
|
|
|
audioManager.startOutgoingRinger(OutgoingRinger.Type.RINGING);
|
|
|
|
|
bluetoothStateManager.setWantsConnection(true);
|
|
|
|
|
|
|
|
|
|
setCallInProgressNotification(TYPE_OUTGOING_RINGING, recipient);
|
|
|
|
@ -591,7 +591,6 @@ public class WebRtcCallService extends Service implements InjectableType,
|
|
|
|
|
if (this.recipient == null) throw new AssertionError("assert");
|
|
|
|
|
|
|
|
|
|
this.callState = CallState.STATE_REMOTE_RINGING;
|
|
|
|
|
this.audioManager.startOutgoingRinger(OutgoingRinger.Type.RINGING);
|
|
|
|
|
|
|
|
|
|
sendMessage(WebRtcViewModel.State.CALL_RINGING, recipient, localCameraState, remoteVideoEnabled, bluetoothAvailable, microphoneEnabled);
|
|
|
|
|
}
|
|
|
|
|