diff options
| author | 2024-05-20 16:27:19 +0800 | |
|---|---|---|
| committer | 2024-05-20 10:19:17 +0000 | |
| commit | d6e7e4ed3e34d70afdf648409d8cb91d4fb83b0a (patch) | |
| tree | e27439902af0c4b2d573fed4c5f783db09ab648a /floss/build/container-build-image.py | |
| parent | 3505ccf10c4e3276e0e6ca63c38858a552fc3eca (diff) | |
Floss: Prevent SCO/phone state desynchronization by enabling BTA_AG_FEAT_NOSCO
This resolves an issue where the headset and AG could become
desynchronized during call hang-up. Originally, the hang-up process was
split into two separate events: SCO closure and CIEV update. If another
call event occurred between the SCO closure and CIEV update events, the
AG phone state change would not be propagated to the headset.
Enabling BTA_AG_FEAT_NOSCO removes the need for SCO closure when a call
is hung up, which is redundant in Floss as SCO is managed by CRAS.
This ensures that a hang-up call only triggers +CIEV instead of being
split into two separate events, preventing the desynchronization issue.
By enabling BTA_AG_FEAT_NOSCO, this flag will remove all potential SCO
operations from BTA when the phone state changes. This ensures that SCO
management is solely handled by CRAS.
Bug: 340375662
Test: Conduct the following manual tests
pair Bluetooth Headset
Google Meet: headset is able hang-up the call
Test: Conduct the following manual tests
pair Bluetooth Headset
login Ring Central and place an incoming-call
answer the call by headset
hangup the call by headset
Test: Conduct the following manual tests
pair Bluetooth Headset
login Ring Central and place an incoming-call
answer the call on Ring Central
hangup the call from headset
Test: atest bluetooth_test_gd
Tag: #floss
Flag: EXEMPT, no behavior change on Android; Floss-only changes
Change-Id: I859af1342b99f1e662adeae96e51a95bbcb39862
Diffstat (limited to 'floss/build/container-build-image.py')
0 files changed, 0 insertions, 0 deletions