Merge "Fixing the NPE in SipPhone bug id: http://b/2987816" into gingerbread
This commit is contained in:
committed by
Android (Google) Code Review
commit
968735e580
@@ -754,7 +754,7 @@ public class SipPhone extends SipPhoneBase {
|
|||||||
Log.v(LOG_TAG, "hangup conn: " + mPeer.getUriString() + ": "
|
Log.v(LOG_TAG, "hangup conn: " + mPeer.getUriString() + ": "
|
||||||
+ ": on phone " + getPhone().getPhoneName());
|
+ ": on phone " + getPhone().getPhoneName());
|
||||||
try {
|
try {
|
||||||
mSipAudioCall.endCall();
|
if (mSipAudioCall != null) mSipAudioCall.endCall();
|
||||||
setState(Call.State.DISCONNECTING);
|
setState(Call.State.DISCONNECTING);
|
||||||
setDisconnectCause(DisconnectCause.LOCAL);
|
setDisconnectCause(DisconnectCause.LOCAL);
|
||||||
} catch (SipException e) {
|
} catch (SipException e) {
|
||||||
|
|||||||
Reference in New Issue
Block a user