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

Commit 11cd7b71 authored by Venkatraman Nerellapalli's avatar Venkatraman Nerellapalli Committed by Gerrit - the friendly Code Review server
Browse files

MSIM: Dismiss pending dialog on incoming call notification.

Dismiss Phone Account Selection dialog on incoming call
notification.
Show CallCardFragment when InCallActivity is visible so that
incoming call screen is visible.

Change-Id: I7b156a84b6a81d98bc811368cec9e2a406c78a5a
CRs-Fixed: 1007588
parent e23f6e29
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -924,6 +924,11 @@ public class InCallActivity extends TransactionSafeActivity implements FragmentD
            mDialog.dismiss();
            mDialog = null;
        }
        SelectPhoneAccountDialogFragment dialogFragment = (SelectPhoneAccountDialogFragment)
                getFragmentManager().findFragmentByTag(TAG_SELECT_ACCT_FRAGMENT);
        if (dialogFragment != null) {
            dialogFragment.dismiss();
        }
        if (mAnswerFragment != null) {
            mAnswerFragment.dismissPendingDialogs();
        }
+1 −0
Original line number Diff line number Diff line
@@ -1492,6 +1492,7 @@ public class InCallPresenter implements CallList.Listener,
            // We're about the bring up the in-call UI for an incoming call. If we still have
            // dialogs up, we need to clear them out before showing incoming screen.
            if (isActivityStarted()) {
                mInCallActivity.showCallCardFragment(true);
                mInCallActivity.dismissPendingDialogs();
            }
            if (!startUi(newState)) {