Merge "AudioPolicyManager: add comment for disabling offload when streaming." into nyc-dev
diff --git a/services/audiopolicy/managerdefault/AudioPolicyManager.cpp b/services/audiopolicy/managerdefault/AudioPolicyManager.cpp
index b6a7547..bf68d46 100644
--- a/services/audiopolicy/managerdefault/AudioPolicyManager.cpp
+++ b/services/audiopolicy/managerdefault/AudioPolicyManager.cpp
@@ -2222,6 +2222,8 @@
}
// Check if streaming is off, then only allow offload as of now.
+ // This is a temporary work around until the root cause is fixed in offload
+ // playback path.
if (offloadInfo.is_streaming)
{
ALOGV("isOffloadSupported: is_streaming == true, returning false");