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

Commit e0e5c1de authored by Anthony Lee's avatar Anthony Lee
Browse files

Catch null Call to avoid NullPointerException.

Bug: 22646355
Change-Id: Iad8f4ed9b29f97b3c6d403b63f9fdf7f3b26f460
parent 93309717
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -568,6 +568,9 @@ public class VideoCallPresenter extends Presenter<VideoCallPresenter.VideoCallUi
    public void onDetailsChanged(Call call, android.telecom.Call.Details details) {
        Log.d(this, " onDetailsChanged call=" + call + " details=" + details + " mPrimaryCall="
                + mPrimaryCall);
        if (call == null) {
            return;
        }
        // If the details change is not for the currently active call no update is required.
        if (!call.equals(mPrimaryCall)) {
            Log.d(this," onDetailsChanged: Details not for current active call so returning. ");