Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 94e49833 authored by Chung-yih Wang's avatar Chung-yih Wang
Browse files

Fixing the NPE in SipPhone

bug id: http://b/2987816

Change-Id: Iee252eee0a5243b70ff0b6f287279f92235b5b2d
parent 5306e0a8
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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) {