This commit is contained in:
Stephen Paul Weber 2022-04-20 10:28:28 -05:00
parent 5ba4e0db44
commit 3e4799979e
No known key found for this signature in database
GPG Key ID: D11C2911CE519CDE
1 changed files with 6 additions and 0 deletions

View File

@ -105,6 +105,12 @@ public class ConnectionService extends android.telecom.ConnectionService {
);
}
if (xmppConnectionService == null) {
return Connection.createFailedConnection(
new DisconnectCause(DisconnectCause.ERROR)
);
}
if (xmppConnectionService.getJingleConnectionManager().isBusy() != null) {
return Connection.createFailedConnection(
new DisconnectCause(DisconnectCause.BUSY)