diff options
author | Hung-ying Tyan <tyanh@google.com> | 2010-12-01 09:21:36 -0800 |
---|---|---|
committer | Android Git Automerger <android-git-automerger@android.com> | 2010-12-01 09:21:36 -0800 |
commit | db4245291b15fd966b36c70f7f69ba4d22539803 (patch) | |
tree | e4c488612530ab3e656c1a7f15242b7c144d0b18 /voip | |
parent | 1cc52df752eac527aa2bcd7be843d9d02d6bdbc4 (diff) | |
parent | ed34b244f1665b604d2a291db504415b10a514d7 (diff) | |
download | frameworks_base-db4245291b15fd966b36c70f7f69ba4d22539803.zip frameworks_base-db4245291b15fd966b36c70f7f69ba4d22539803.tar.gz frameworks_base-db4245291b15fd966b36c70f7f69ba4d22539803.tar.bz2 |
am ed34b244: am d7116ff1: Merge "Do not suppress error feedback during a SIP call." into gingerbread
* commit 'ed34b244f1665b604d2a291db504415b10a514d7':
Do not suppress error feedback during a SIP call.
Diffstat (limited to 'voip')
-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); } } |