ignore race condition after reject from notification
fixes #4351 fixes #4261
This commit is contained in:
parent
353c4f118d
commit
d41020ccf3
|
@ -892,7 +892,15 @@ public class JingleConnectionManager extends AbstractConnectionManager {
|
|||
for (final AbstractJingleConnection connection : this.connections.values()) {
|
||||
if (connection.getId().sessionId.equals(sessionId)) {
|
||||
if (connection instanceof JingleRtpConnection) {
|
||||
try {
|
||||
((JingleRtpConnection) connection).rejectCall();
|
||||
return;
|
||||
} catch (final IllegalStateException e) {
|
||||
Log.w(
|
||||
Config.LOGTAG,
|
||||
"race condition on rejecting call from notification",
|
||||
e);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue