summaryrefslogtreecommitdiffstats
path: root/voip/java
diff options
context:
space:
mode:
authorHung-ying Tyan <tyanh@google.com>2010-10-25 12:08:43 +0800
committerHung-ying Tyan <tyanh@google.com>2010-11-30 17:00:45 +0800
commit4189d99b6e4877352049b7447b7f0734ef99b9e8 (patch)
tree52b7cd5907ced967c0c75dd47ac4f017d692f573 /voip/java
parent349f3509f7335bbdef443a75afa36fb3c2d9552c (diff)
downloadframeworks_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.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);
}
}