qcom_audio-caf: disable support for LPA playback on bluetooth.
current generation bluetooth do not support lpa playback
diff --git a/alsa_sound/AudioPolicyManagerALSA.cpp b/alsa_sound/AudioPolicyManagerALSA.cpp
index bfc29a6..be865e2 100755
--- a/alsa_sound/AudioPolicyManagerALSA.cpp
+++ b/alsa_sound/AudioPolicyManagerALSA.cpp
@@ -1840,6 +1840,9 @@
uint32_t channelMask,
audio_output_flags_t flags)
{
+ if (audio_is_a2dp_device(device) || audio_is_bluetooth_sco_device(device)) {
+ return false;
+ }
if ((profile->mSupportedDevices & device) != device) {
return false;
}