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

Commit fdf68fbd authored by Treehugger Robot's avatar Treehugger Robot Committed by Gerrit Code Review
Browse files

Merge "Display incoming call when phone account selection dialog shows"

parents c4a1ab0a 4a220bd6
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();
        }
    }

    /**