diff options
author | Hung-ying Tyan <tyanh@google.com> | 2010-10-25 12:08:43 +0800 |
---|---|---|
committer | Hung-ying Tyan <tyanh@google.com> | 2010-11-30 17:00:45 +0800 |
commit | 4189d99b6e4877352049b7447b7f0734ef99b9e8 (patch) | |
tree | 52b7cd5907ced967c0c75dd47ac4f017d692f573 /voip/java | |
parent | 349f3509f7335bbdef443a75afa36fb3c2d9552c (diff) | |
download | frameworks_base-4189d99b6e4877352049b7447b7f0734ef99b9e8.zip frameworks_base-4189d99b6e4877352049b7447b7f0734ef99b9e8.tar.gz frameworks_base-4189d99b6e4877352049b7447b7f0734ef99b9e8.tar.bz2 |
Do not suppress error feedback during a SIP call.
Bug: 3124788
Change-Id: Ia0a06f72336d1795515428eba0c9f875c32d13d1
Diffstat (limited to 'voip/java')
-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); } } |