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

Commit d4e31255 authored by Anthony Lee's avatar Anthony Lee Committed by Android Git Automerger
Browse files

am f1f8dc8a: Merge "Fix NPE for video card when VT not active" into mnc-dev

* commit 'f1f8dc8a66e2bb0814d85d17935d27f15d9a6e60':
  Fix NPE for video card when VT not active
parents a528f138 937224c6
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -311,6 +311,9 @@ public class CallCardFragment extends BaseFragment<CallCardPresenter, CallCardPr

        // Retrieve here since at fragment creation time the incoming video view is not inflated.
        final View videoView = getView().findViewById(R.id.incomingVideo);
        if (videoView == null) {
            return;
        }

        // Determine how much space there is below or to the side of the call card.
        final float spaceBesideCallCard = getSpaceBesideCallCard();