diff options
| author | 2024-07-25 19:27:56 -0700 | |
|---|---|---|
| committer | 2024-07-26 11:17:17 -0700 | |
| commit | 24acb8ffde8632ff48b69b6e95d62adf4ffb94ba (patch) | |
| tree | 355659ce08bcdac1027e29dc3af3f55ec5e4fee2 /api/api_test.go | |
| parent | 15720198aca66c89e0ef303cb0ed78ddf143707f (diff) | |
Fix logic for categorizing a volume group as invalid
A volume group is invalid if it contains as legacy stream only bt sco.
In Auto a volume group can contain multiple streams. See telring which
has ring, voice call and bt sco as legacy streams.
When a volume group contains only bt sco as legacy stream we try to
replace the mapping of bt_sco with voice_call if available.
Do not throw IAE when querrying the state of an inexistant volume group
Test: manual
Flag: com.android.media.audio.replace_stream_bt_sco
Bug: 354945865
Change-Id: Id1dcaec524dc141c8494f644257387d753e2239b
Diffstat (limited to 'api/api_test.go')
0 files changed, 0 insertions, 0 deletions