commit | 3ba1419ade788f717dc2beb9667224dc9ed2e317 | [log] [tgz] |
---|---|---|
author | Santos Cordon <santoscordon@google.com> | Wed Sep 16 14:29:35 2015 -0700 |
committer | Santos Cordon <santoscordon@google.com> | Wed Sep 23 11:28:17 2015 -0700 |
tree | 9368aca8b205bb9e227f9671cde97b51196770b3 | |
parent | 3a52ea6bf98fed5f6636db837ce15e1ea2064b32 [diff] |
Double-check SIP state before issuing a swap-calls command. Our code relied on the state of SipConnection to prevent us from holding a HELD call and unholding an ACTIVE call. However, while the action is in progress, the SipConnection state can be slightly delayed so we double-check the internal state of the lower connection prior to issuing a switchHoldingAndActive command. Bug: 24007856 Change-Id: I617ef215e66f6b9324dc17cb1b9832cc35390f17