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

Commit b26dae0f authored by Tyler Gunn's avatar Tyler Gunn Committed by android-build-merger
Browse files

IMS-VT: Clear progress spinner when primary call changes am: 2556c5cfb6

am: 1124c2fb24

* commit '1124c2fb24777f7b49e1c2311c2d88f6974e80a3':
  IMS-VT: Clear progress spinner when primary call changes
parents 011d958b b0590651
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -265,6 +265,9 @@ public class CallCardPresenter extends Presenter<CallCardPresenter.CallCardUi>
        if (shouldRefreshPrimaryInfo(primaryChanged, ui, shouldShowCallSubject(mPrimary))) {
            // primary call has changed
            if (previousPrimary != null) {
                //clear progess spinner (if any) related to previous primary call
                maybeShowProgressSpinner(previousPrimary.getState(),
                        Call.SessionModificationState.NO_REQUEST);
                CallList.getInstance().removeCallUpdateListener(previousPrimary.getId(), this);
            }
            CallList.getInstance().addCallUpdateListener(mPrimary.getId(), this);
@@ -277,6 +280,9 @@ public class CallCardPresenter extends Presenter<CallCardPresenter.CallCardUi>
        }

        if (previousPrimary != null && mPrimary == null) {
            //clear progess spinner (if any) related to previous primary call
            maybeShowProgressSpinner(previousPrimary.getState(),
                    Call.SessionModificationState.NO_REQUEST);
            CallList.getInstance().removeCallUpdateListener(previousPrimary.getId(), this);
        }