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

Skip to content
Commit 24acb8ff authored by Vlad Popa's avatar Vlad Popa
Browse files

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
parent 15720198
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