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

Commit 52714642 authored by Yorke Lee's avatar Yorke Lee Committed by Android (Google) Code Review
Browse files

Merge "Make sure to remove CallCardPresenter from CallUpdateListeners map" into mnc-dev

parents 84ba139e 2d7bf908
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -228,6 +228,10 @@ public class CallCardPresenter extends Presenter<CallCardPresenter.CallCardUi>
            mPrimary.setSessionModificationState(Call.SessionModificationState.NO_REQUEST);
        }

        if (previousPrimary != null && mPrimary == null) {
            CallList.getInstance().removeCallUpdateListener(previousPrimary.getId(), this);
        }

        if (mSecondary == null) {
            // Secondary call may have ended.  Update the ui.
            mSecondaryContactInfo = null;