forked from mirror/monocles_chat
ignore race condition after reject from notification (iNPUTmice)
This commit is contained in:
parent
f7f04389d2
commit
24b0adb67f
1 changed files with 9 additions and 1 deletions
|
@ -892,7 +892,15 @@ public class JingleConnectionManager extends AbstractConnectionManager {
|
||||||
for (final AbstractJingleConnection connection : this.connections.values()) {
|
for (final AbstractJingleConnection connection : this.connections.values()) {
|
||||||
if (connection.getId().sessionId.equals(sessionId)) {
|
if (connection.getId().sessionId.equals(sessionId)) {
|
||||||
if (connection instanceof JingleRtpConnection) {
|
if (connection instanceof JingleRtpConnection) {
|
||||||
((JingleRtpConnection) connection).rejectCall();
|
try {
|
||||||
|
((JingleRtpConnection) connection).rejectCall();
|
||||||
|
return;
|
||||||
|
} catch (final IllegalStateException e) {
|
||||||
|
Log.w(
|
||||||
|
Config.LOGTAG,
|
||||||
|
"race condition on rejecting call from notification",
|
||||||
|
e);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue