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

Commit 8012f1a8 authored by Wenlu Wu's avatar Wenlu Wu Committed by android-build-merger
Browse files

Merge "Display incoming call when phone account selection dialog shows" am:...

Merge "Display incoming call when phone account selection dialog shows" am: fdf68fbd am: 2f06e83a
am: f6a3e266

Change-Id: I4e06aae3310b7f29d120daa3222f0d07c73b50b3
parents 3a4da507 f6a3e266
Loading
Loading
Loading
Loading
+12 −0
Original line number Diff line number Diff line
@@ -844,6 +844,12 @@ public class InCallActivity extends TransactionSafeActivity implements FragmentD
    }

    public void showAnswerFragment(boolean show) {
        // CallCardFragment is the parent fragment of AnswerFragment.
        // Must create the CallCardFragment first before creating
        // AnswerFragment if CallCardFragment is null.
        if (show && getCallCardFragment() == null) {
            showCallCardFragment(true);
        }
        showFragment(TAG_ANSWER_FRAGMENT, show, true);
    }

@@ -888,6 +894,12 @@ public class InCallActivity extends TransactionSafeActivity implements FragmentD
        if (mAnswerFragment != null) {
            mAnswerFragment.dismissPendingDialogs();
        }

        SelectPhoneAccountDialogFragment dialogFragment = (SelectPhoneAccountDialogFragment)
                getFragmentManager().findFragmentByTag(TAG_SELECT_ACCT_FRAGMENT);
        if (dialogFragment != null) {
            dialogFragment.dismiss();
        }
    }

    /**