don’t throw when user double taps accept button
This commit is contained in:
parent
04a7b9da1c
commit
9afac21b0b
|
@ -789,6 +789,13 @@ public class JingleRtpConnection extends AbstractJingleConnection implements Web
|
||||||
case SESSION_INITIALIZED:
|
case SESSION_INITIALIZED:
|
||||||
acceptCallFromSessionInitialized();
|
acceptCallFromSessionInitialized();
|
||||||
break;
|
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:
|
default:
|
||||||
throw new IllegalStateException("Can not accept call from " + this.state);
|
throw new IllegalStateException("Can not accept call from " + this.state);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue