audio: Retrieve feature flag from config store

Retrieve audio.offload.disable feature flag from config store.

Change-Id: Id500874c22b8b1e4f52120ac2f5cb92fd46030e7
diff --git a/policy_hal/AudioPolicyManager.cpp b/policy_hal/AudioPolicyManager.cpp
index cc5747c..29aa176 100644
--- a/policy_hal/AudioPolicyManager.cpp
+++ b/policy_hal/AudioPolicyManager.cpp
@@ -522,7 +522,7 @@
     }
 
     // Check if offload has been disabled
-    bool offloadDisabled = property_get_bool("audio.offload.disable", false);
+    bool offloadDisabled = mApmConfigs->isAudioOffloadDisabled();
     if (offloadDisabled) {
         ALOGI("offload disabled by audio.offload.disable=%d", offloadDisabled);
         return false;
@@ -1639,7 +1639,7 @@
     }
 
     // Do internal direct magic here
-    bool offload_disabled = property_get_bool("audio.offload.disable", false);
+    bool offload_disabled = mApmConfigs->isAudioOffloadDisabled();
     if ((*flags == AUDIO_OUTPUT_FLAG_NONE) &&
         (stream == AUDIO_STREAM_MUSIC) &&
         ( !offload_disabled) &&