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

Commit 4f926dae authored by Satish Kodishala's avatar Satish Kodishala Committed by Gerrit - the friendly Code Review server
Browse files

BT: Align outgoing call states in BT with Telephony

As soon as outgoing call is placed, Bluetooth call state moved
to DIALING while the actual call state in Telephony is CONNECTING.
Check if the call state in Telephony is in DIALLING and move to
DIALLING in BT.

CRs-fixed: 927951
Change-Id: Ie2883d8c412daaeb7817dcd38174d3b12582475d
parent 3e98e308
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1183,7 +1183,7 @@ public final class BluetoothPhoneServiceImpl {
        int bluetoothCallState = CALL_STATE_IDLE;
        if (ringingCall != null) {
            bluetoothCallState = CALL_STATE_INCOMING;
        } else if (dialingCall != null) {
        } else if (dialingCall != null && dialingCall.getState() == CallState.DIALING) {
            bluetoothCallState = CALL_STATE_ALERTING;
        }
        return bluetoothCallState;