ConnectionService: implement onReject()
Forgot this for incoming calls
This commit is contained in:
parent
6ca2ffd6ea
commit
d8d49e03a0
|
@ -274,6 +274,13 @@ public class ConnectionService extends android.telecom.ConnectionService {
|
||||||
rtpConnection.get().acceptCall();
|
rtpConnection.get().acceptCall();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public void onReject() {
|
||||||
|
this.rtpConnection = xmppConnectionService.getJingleConnectionManager().findJingleRtpConnection(account, with, sessionId);
|
||||||
|
rtpConnection.get().rejectCall();
|
||||||
|
setDisconnected(new DisconnectCause(DisconnectCause.LOCAL));
|
||||||
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void onDisconnect() {
|
public void onDisconnect() {
|
||||||
if (rtpConnection == null || rtpConnection.get() == null) {
|
if (rtpConnection == null || rtpConnection.get() == null) {
|
||||||
|
|
Loading…
Reference in a new issue