| commit | 19791e2a165af7425e9fb6eb0d3f6f641da979d3 | [log] [tgz] |
|---|---|---|
| author | chenxin20 <chenxin20@xiaomi.com> | Mon Mar 31 02:16:50 2025 -0700 |
| committer | Cherrypicker Worker <android-build-cherrypicker-worker@google.com> | Mon Mar 31 02:16:50 2025 -0700 |
| tree | a0cbf00968be5d5a96eae2b6889925e0d057fc22 | |
| parent | 3d4cc887d2f2a57174d9199566b371516141f2d0 [diff] |
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