summaryrefslogtreecommitdiff
path: root/libs/rs/rsg_ScriptJavaClass.cpp
diff options
context:
space:
mode:
authorHung-ying Tyan <tyanh@google.com>2010-11-03 11:50:05 +0800
committerHung-ying Tyan <tyanh@google.com>2010-11-03 18:09:31 +0800
commit8d1b2a17d9935819ec96f1b5fca0e9945f564eaa (patch)
treeb81d8d442b304f7ba59241025d0297452bc66600 /libs/rs/rsg_ScriptJavaClass.cpp
parent70a2c15ecfd4e8cd8581699d5df8a219c7d5cdb1 (diff)
Throw proper exceptions in SipManager
instead of silently returning null and causing NPE in applications as returning null is not documented in the javadoc. Add connection to the connection list in SipCall after dial() succeeds so that we don't need to clean up if it fails. The original code will cause the failed connection to continue to live in the SipCall and in next dial() attempt, a new connection is created and the in-call screen sees two connections in the call and thus shows conference call UI. Bug: 3157234, 3157387 Change-Id: Iabc3235f781c4f1e09384a67ad56b09ad2c12e5e
Diffstat (limited to 'libs/rs/rsg_ScriptJavaClass.cpp')
0 files changed, 0 insertions, 0 deletions