diff options
author | Hung-ying Tyan <tyanh@google.com> | 2010-11-30 22:53:26 -0800 |
---|---|---|
committer | Android (Google) Code Review <android-gerrit@google.com> | 2010-11-30 22:53:26 -0800 |
commit | d7116ff1f0d1a3c14992273d0b899c3b71ba6d3f (patch) | |
tree | bfc4282afdcc2a14e19d898aa5fd717242264e1c /voip/java/com | |
parent | 04639ba0a939988d00131e61458807dac650f9c3 (diff) | |
parent | 4189d99b6e4877352049b7447b7f0734ef99b9e8 (diff) | |
download | frameworks_base-d7116ff1f0d1a3c14992273d0b899c3b71ba6d3f.zip frameworks_base-d7116ff1f0d1a3c14992273d0b899c3b71ba6d3f.tar.gz frameworks_base-d7116ff1f0d1a3c14992273d0b899c3b71ba6d3f.tar.bz2 |
Merge "Do not suppress error feedback during a SIP call." into gingerbread
Diffstat (limited to 'voip/java/com')
-rw-r--r-- | voip/java/com/android/server/sip/SipSessionGroup.java | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/voip/java/com/android/server/sip/SipSessionGroup.java b/voip/java/com/android/server/sip/SipSessionGroup.java index 2fbaee2..29f5f5a 100644 --- a/voip/java/com/android/server/sip/SipSessionGroup.java +++ b/voip/java/com/android/server/sip/SipSessionGroup.java @@ -1163,11 +1163,6 @@ class SipSessionGroup implements SipListener { mProxy.onCallEstablished(this, mPeerSessionDescription); } - private void fallbackToPreviousInCall(int errorCode, String message) { - mState = SipSession.State.IN_CALL; - mProxy.onCallChangeFailed(this, errorCode, message); - } - private void endCallNormally() { reset(); mProxy.onCallEnded(this); @@ -1191,12 +1186,7 @@ class SipSessionGroup implements SipListener { onRegistrationFailed(errorCode, message); break; default: - if ((errorCode != SipErrorCode.DATA_CONNECTION_LOST) - && mInCall) { - fallbackToPreviousInCall(errorCode, message); - } else { - endCallOnError(errorCode, message); - } + endCallOnError(errorCode, message); } } |