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