diff options
| author | 2021-12-21 14:49:11 +0000 | |
|---|---|---|
| committer | 2022-01-04 22:28:10 +0000 | |
| commit | b42ba0836ba29237e2e519fce730d28eda89bf46 (patch) | |
| tree | bc83d7cdea63efaa96e727ac4f08a964b8bf4b51 /libs/androidfw/ResourceUtils.cpp | |
| parent | 0892c27c57ddbd6076b39393e6680fd4c42c4de0 (diff) | |
AudioDeviceInventory: Fix for switching leaudio active/inactive
When LeAudio device gets Inactive and Active again, it
will not be choosen by the Audio Policy as an output device
due to this code:
https://cs.android.com/android/platform/superproject/+/master:frameworks/av/services/audiopolicy/enginedefault/src/Engine.cpp;l=347;drc=master;bpv=1;bpt=1?q=engine.cpp&ss=android%2Fplatform%2Fsuperproject
This is because AUDIO_POLICY_FORCE_NO_BT_A2DP is set.
This patch fixes it.
Bug: 211079178
Test: play media on LE HS and switch between DUT and LE HS
Change-Id: I806a63ef2eaa98736130383bfc0387e5187b1803
Diffstat (limited to 'libs/androidfw/ResourceUtils.cpp')
0 files changed, 0 insertions, 0 deletions