summaryrefslogtreecommitdiffstats
path: root/voip
diff options
context:
space:
mode:
authorHung-ying Tyan <tyanh@google.com>2010-12-01 09:21:36 -0800
committerAndroid Git Automerger <android-git-automerger@android.com>2010-12-01 09:21:36 -0800
commitdb4245291b15fd966b36c70f7f69ba4d22539803 (patch)
treee4c488612530ab3e656c1a7f15242b7c144d0b18 /voip
parent1cc52df752eac527aa2bcd7be843d9d02d6bdbc4 (diff)
parented34b244f1665b604d2a291db504415b10a514d7 (diff)
downloadframeworks_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.java12
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);
}
}