Merge "policy_hal: fix CTS concurrent audio playback"
diff --git a/policy_hal/AudioPolicyManager.cpp b/policy_hal/AudioPolicyManager.cpp
index 9f7eb10..8e0d401 100644
--- a/policy_hal/AudioPolicyManager.cpp
+++ b/policy_hal/AudioPolicyManager.cpp
@@ -1661,12 +1661,10 @@
if (desc->mFlags == AUDIO_OUTPUT_FLAG_DIRECT) {
direct_pcm_already_in_use = true;
ALOGD("Direct PCM already in use");
- break;
}
if (desc->mFlags & AUDIO_OUTPUT_FLAG_COMPRESS_OFFLOAD) {
compress_offload_already_in_use = true;
ALOGD("Compress Offload already in use");
- break;
}
}
// prevent direct pcm for non-music stream blindly if direct pcm already in use