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

Commit c0cf8f71 authored by Sanket Agarwal's avatar Sanket Agarwal
Browse files

Conference calling crash on null call object

After conference call ends there are some NPE happening because the call
is being accessed after getting destroyed. Check that underlying call
object is not NULL

Bug: b/34983172
Test: Hangup conference call from CarKitt
Change-Id: I08bfc5478a4dce4e608d7dc5cf9688b65fbc6637
parent 1a362967
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -114,7 +114,7 @@ public class HfpClientConnection extends Connection {
    }

    public boolean inConference() {
        return mAdded && mCurrentCall.isMultiParty() &&
        return mAdded && mCurrentCall != null && mCurrentCall.isMultiParty() &&
                getState() != Connection.STATE_DISCONNECTED;
    }