configs: Disable ambisonics capture by default on Kona
-Set ambisonics record properties to false by default
-Change the properties to be persist
-Modify property get to use the new property names
Change-Id: Ie9ac14555dc56bbce65017fb861fe8c3218f8526
diff --git a/hal/msm8974/platform.c b/hal/msm8974/platform.c
index 61eca9b..5d9b382 100644
--- a/hal/msm8974/platform.c
+++ b/hal/msm8974/platform.c
@@ -3185,11 +3185,11 @@
}
}
/* Check for Ambisonic Capture Enablement */
- if (property_get_bool("vendor.audio.ambisonic.capture",false))
+ if (property_get_bool("persist.vendor.audio.ambisonic.capture",false))
my_data->ambisonic_capture = true;
/* Check for Ambisonic Profile Assignment*/
- if (property_get_bool("vendor.audio.ambisonic.auto.profile",false))
+ if (property_get_bool("persist.vendor.audio.ambisonic.auto.profile",false))
my_data->ambisonic_profile = true;
if (audio_extn_is_wsa_enabled()
@@ -3765,7 +3765,7 @@
}
}
- if (property_get_bool("vendor.audio.apptype.multirec.enabled", false))
+ if (property_get_bool("persist.vendor.audio.apptype.multirec.enabled", false))
my_data->use_generic_handset = true;
/* Initialize keep alive for HDMI/loopback silence */