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

Commit 150d8684 authored by Nancy Chen's avatar Nancy Chen Committed by Android (Google) Code Review
Browse files

Merge "Skip "PRE_DIAL_WAIT" when no accounts are available to chose from." into lmp-dev

parents eb09f6c7 1ccab206
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -384,7 +384,7 @@ public final class CallsManager extends Call.ListenerBase {
            return null;
        }

        if (phoneAccountHandle == null && !isEmergencyCall) {
        if (phoneAccountHandle == null && accounts.size() > 1 && !isEmergencyCall) {
            // This is the state where the user is expected to select an account
            call.setState(CallState.PRE_DIAL_WAIT);
            extras.putParcelableList(android.telecom.Call.AVAILABLE_PHONE_ACCOUNTS, accounts);