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

Skip to content
Commit e3a7961f authored by Jeremy Wu's avatar Jeremy Wu
Browse files

HfpClientInterface: allow uni-directional audio stream on SCO

In some cases (e.g., on start-suspend transient states), there could be
only one direction of active audio stream, and either of the r/w is not
allowed.

In this CL, we capture the precise state of the active directions, and
make the streams appear to be active to the lower layers that assume
both are always active.

Test: verify BT audio works
Test: m Bluetooth
Bug: 349290628
Bug: 315234036
Flag: com::android::bluetooth::flags::is_sco_managed_by_audio and HFP
and bluetooth.hfp.software_datapath.enabled

Change-Id: Ide1006b016c94960d5e869b5b48c85d3e3a7754f
parent da9cdc0b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment