forked from mirror/monocles_chat
don’t throw when user double taps accept button
This commit is contained in:
parent
04a7b9da1c
commit
9afac21b0b
1 changed files with 7 additions and 0 deletions
|
@ -789,6 +789,13 @@ public class JingleRtpConnection extends AbstractJingleConnection implements Web
|
|||
case SESSION_INITIALIZED:
|
||||
acceptCallFromSessionInitialized();
|
||||
break;
|
||||
case ACCEPTED:
|
||||
Log.w(Config.LOGTAG,id.account.getJid().asBareJid()+": the call has already been accepted with another client. UI was just lagging behind");
|
||||
break;
|
||||
case PROCEED:
|
||||
case SESSION_ACCEPTED:
|
||||
Log.w(Config.LOGTAG,id.account.getJid().asBareJid()+": the call has already been accepted. user probably double tapped the UI");
|
||||
break;
|
||||
default:
|
||||
throw new IllegalStateException("Can not accept call from " + this.state);
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue