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:chenxin20 <chenxin20@xiaomi.com> (cherry picked from https://android-review.googlesource.com/q/commit:6914877e6e96fdc453bb6b663e1f78f7016c0c4d) Merged-In: I72287967ca0c97e3a4c3e294387b508ecd4fc333 Change-Id: I72287967ca0c97e3a4c3e294387b508ecd4fc333
Loading
Please register or sign in to comment