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

Commit 5d416dcb authored by Satish Kodishala's avatar Satish Kodishala Committed by Ajay Panicker
Browse files

Proper handling of BTRH command in HFP client

Usecase:
1. Enable hf client role and connect to AG.
2. Run PTS test case RHH/BV-04.

Failure:
PTS test case fails since the test expects the call to be active.

Rootcause:
Hf client is not sending AT+BTRH for accepting held call

Fix:
Remove unnecessary check against of action policy flag while
executing BTRH command

Change-Id: Iebd5e02f3bf70cc39288219340cd47ebad3d8349
parent 939ea088
Loading
Loading
Loading
Loading
+0 −3
Original line number Diff line number Diff line
@@ -979,9 +979,6 @@ final class HeadsetClientStateMachine extends StateMachine {
                }
                break;
            case BluetoothHeadsetClientCall.CALL_STATE_HELD_BY_RESPONSE_AND_HOLD:
                if (flag != BluetoothHeadsetClient.CALL_ACCEPT_NONE) {
                    return;
                }
                action = HeadsetClientHalConstants.CALL_ACTION_BTRH_1;
                break;
            case BluetoothHeadsetClientCall.CALL_STATE_ALERTING: