diff options
| author | 2024-05-13 18:48:31 +0800 | |
|---|---|---|
| committer | 2024-05-20 10:20:05 +0000 | |
| commit | 049596dba2d44748987d6d031db4e86868eff349 (patch) | |
| tree | 54d8713e3a421d6c3a6f2eced150157fd06d3d69 /floss/build/container-build-image.py | |
| parent | d6e7e4ed3e34d70afdf648409d8cb91d4fb83b0a (diff) | |
Floss: Fix headset that requires +CIEV command to work and cannot provide sound when Bluetooth Telephony is enabled
Some Bluetooth headsets require placing an active call to trigger +CIEV
to enable sound through HFP. However, the +CIEV workaround conflicts
with the initial state needed for Bluetooth Telephony, which requires
no call.
Originally, we removed the +CIEV workaround when the Bluetooth Telephony
feature flag was enabled. However, this could potentially cause a
regression for headsets requiring the +CIEV command when launching the
feature.
To avoid breaking the original use case for users who don't need
telephony, we restrict the +CIEV workaround removal to only when a user
explicitly enables UHID, which means the user intents to use Bluetooth
Telephony.
Bug: 340375662
Test: Conduct the following manual tests
- enable bluetooth telephony
- pair Bluetooth Headset need +CIEV command to work(Parrot Zik 2.0)
- playback with youtube and online voice recorder and make sure hfp
audio work
- enable uhid and observe the hfp audio will not work
Test: atest bluetooth_test_gd
Tag: #floss
Flag: EXEMPT, no behavior change on Android; Floss-only changes
Change-Id: I41ea0d3ae61ec928bb099c5b6053c65f473bb764
Diffstat (limited to 'floss/build/container-build-image.py')
0 files changed, 0 insertions, 0 deletions