Change summary
src/cheogram/java/com/cheogram/android/ConnectionService.java | 7 +++++
1 file changed, 7 insertions(+)
Detailed changes
@@ -274,6 +274,13 @@ public class ConnectionService extends android.telecom.ConnectionService {
rtpConnection.get().acceptCall();
}
+ @Override
+ public void onReject() {
+ this.rtpConnection = xmppConnectionService.getJingleConnectionManager().findJingleRtpConnection(account, with, sessionId);
+ rtpConnection.get().rejectCall();
+ setDisconnected(new DisconnectCause(DisconnectCause.LOCAL));
+ }
+
@Override
public void onDisconnect() {
if (rtpConnection == null || rtpConnection.get() == null) {