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

Commit ba7c7d9c authored by Santos Cordon's avatar Santos Cordon Committed by android-build-merger
Browse files

Show CONNECTING and SELECT_PHONE_ACCOUNT states as bluetooth-dialing.

am: d9f9006e

* commit 'd9f9006e':
  Show CONNECTING and SELECT_PHONE_ACCOUNT states as bluetooth-dialing.
parents 7d53dd29 d9f9006e
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -767,13 +767,13 @@ public final class BluetoothPhoneServiceImpl {
            case CallState.NEW:
            case CallState.ABORTED:
            case CallState.DISCONNECTED:
            case CallState.CONNECTING:
            case CallState.SELECT_PHONE_ACCOUNT:
                return CALL_STATE_IDLE;

            case CallState.ACTIVE:
                return CALL_STATE_ACTIVE;

            case CallState.CONNECTING:
            case CallState.SELECT_PHONE_ACCOUNT:
            case CallState.DIALING:
                // Yes, this is correctly returning ALERTING.
                // "Dialing" for BT means that we have sent information to the service provider