Inform about timed out incoming calls

Closes #6344
// FREEBIE
pull/1/head
Christian Ascheberg 7 years ago committed by Moxie Marlinspike
parent 76c41a8295
commit 97c3e8fa3f

@ -619,6 +619,11 @@ public class WebRtcCallService extends Service implements InjectableType, PeerCo
{
Log.w(TAG, "Timing out call: " + this.callId);
sendMessage(WebRtcViewModel.State.CALL_DISCONNECTED, this.recipient, localVideoEnabled, remoteVideoEnabled, bluetoothAvailable, microphoneEnabled);
if (this.callState == CallState.STATE_ANSWERING || this.callState == CallState.STATE_LOCAL_RINGING) {
insertMissedCall(this.recipient, true);
}
terminate();
}
}

Loading…
Cancel
Save