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

Commit cebbeced authored by Yorke Lee's avatar Yorke Lee Committed by Android Git Automerger
Browse files

am 161f1a7e: Merge "CallsManager: fix starting call from Contacts app with MSim"

* commit '161f1a7e':
  CallsManager: fix starting call from Contacts app with MSim
parents 44651116 161f1a7e
Loading
Loading
Loading
Loading
+2 −0
Original line number Original line Diff line number Diff line
@@ -545,6 +545,8 @@ public final class CallsManager extends Call.ListenerBase {
        if (needsAccountSelection) {
        if (needsAccountSelection) {
            // This is the state where the user is expected to select an account
            // This is the state where the user is expected to select an account
            call.setState(CallState.PRE_DIAL_WAIT);
            call.setState(CallState.PRE_DIAL_WAIT);
            // Create our own instance to modify (since extras may be Bundle.EMPTY)
            extras = new Bundle(extras);
            extras.putParcelableList(android.telecom.Call.AVAILABLE_PHONE_ACCOUNTS, accounts);
            extras.putParcelableList(android.telecom.Call.AVAILABLE_PHONE_ACCOUNTS, accounts);
        } else {
        } else {
            call.setState(CallState.CONNECTING);
            call.setState(CallState.CONNECTING);