SipService: deliver connectivity change to all sessions.

+ add DATA_CONNECTION_LOST to SipErrorCode
+ convert it to Connection.DisconnectCause.LOST_SIGNAL in SipPhone

http://b/issue?id=2992548

Change-Id: Ie8983c1b81077b21f46304cf60b8e61df1ffd241
This commit is contained in:
Hung-ying Tyan
2010-09-14 00:17:51 +08:00
parent 3d7606aa60
commit d231aa880a
4 changed files with 24 additions and 9 deletions

View File

@@ -404,6 +404,7 @@ public final class SipService extends ISipService.Stub {
public void onConnectivityChanged(boolean connected)
throws SipException {
mSipGroup.onConnectivityChanged();
if (connected) {
resetGroup(mLocalIp);
if (mOpened) openToReceiveCalls();