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

@@ -47,5 +47,8 @@ public enum SipErrorCode {
INVALID_CREDENTIALS,
/** The client is in a transaction and cannot initiate a new one. */
IN_PROGRESS;
IN_PROGRESS,
/** When data connection is lost. */
DATA_CONNECTION_LOST;
}