hal: audio-feature-manager: disable all audio feature by default
- by default disable all the audio feature
- feature flag need to be enabled per target from target
configuration files
Change-Id: I21ce3d13a41538108555669fdf51bda49ef3a27e
diff --git a/hal/msm8974/platform.c b/hal/msm8974/platform.c
index 8814bc7..baaa74b 100644
--- a/hal/msm8974/platform.c
+++ b/hal/msm8974/platform.c
@@ -3183,8 +3183,8 @@
if (property_get_bool("vendor.audio.ambisonic.auto.profile",false))
my_data->ambisonic_profile = true;
- if (check_and_get_wsa_info((char *)snd_card_name, &wsaCount, &is_wsa_combo_supported)
- && audio_extn_is_wsa_enabled()) {
+ if (audio_extn_is_wsa_enabled()
+ && check_and_get_wsa_info((char *)snd_card_name, &wsaCount, &is_wsa_combo_supported)) {
/*Set ACDB ID of Stereo speaker if two WSAs are present*/
/*Default ACDB ID for wsa speaker is that for mono*/
if (wsaCount == 2) {