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

Commit 56be7d2f authored by Nancy Chen's avatar Nancy Chen Committed by Android Git Automerger
Browse files

am 82430ce4: Merge "When adding a new call, use same phone account for call." into lmp-mr1-dev

* commit '82430ce4':
  When adding a new call, use same phone account for call.
parents f55886f0 82430ce4
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -452,6 +452,11 @@ public final class CallsManager extends Call.ListenerBase {

        Log.v(this, "startOutgoingCall found accounts = " + accounts);

        if (mForegroundCall != null && mForegroundCall.getTargetPhoneAccount() != null) {
            // If there is an ongoing call, use the same phone account to place this new call.
            phoneAccountHandle = mForegroundCall.getTargetPhoneAccount();
        }

        // Only dial with the requested phoneAccount if it is still valid. Otherwise treat this call
        // as if a phoneAccount was not specified (does the default behavior instead).
        // Note: We will not attempt to dial with a requested phoneAccount if it is disabled.