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

Commit 19791e2a authored by chenxin20's avatar chenxin20 Committed by Cherrypicker Worker
Browse files

audio: av_bt: add replace_stream_bt_sco status check in SwAudioOutputDescriptor::setVolume



Android w introduces a new logic. When the replace_stream_bt_sco flag is true, stream_bluetooth_sco will be changed to stream_voice_call in audioservice.java. Then audiopolicy will not receive the index change of stream_bluetooth_sco, and there is no need to force the volume of stream_bluetooth_sco to be synchronized to stream_voice_call.

Bug: 403675919
Test: Make VOIP/Voice calls using spk/sco.
Flag: EXEMPT bug fix

Signed-off-by: default avatarchenxin20 <chenxin20@xiaomi.com>
(cherry picked from https://android-review.googlesource.com/q/commit:6914877e6e96fdc453bb6b663e1f78f7016c0c4d)
Merged-In: I72287967ca0c97e3a4c3e294387b508ecd4fc333
Change-Id: I72287967ca0c97e3a4c3e294387b508ecd4fc333
parent 3d4cc887
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