hal: Update prefixes for audio system properties
Vendor created android system properties are required to have
vendor/qti prefix. Update vendor specific audio system
properties used in HAL.
CRs-Fixed: 2034869
Change-Id: Ibdb1d12fedee1ce12073e8b90fdec814318f3acf
diff --git a/hal/audio_extn/dolby.c b/hal/audio_extn/dolby.c
index a0f17be..bc7aa5c 100644
--- a/hal/audio_extn/dolby.c
+++ b/hal/audio_extn/dolby.c
@@ -430,7 +430,7 @@
if (!send)
return;
- property_get("dmid",c_dmid,"0");
+ property_get("vendor.audio.dmid",c_dmid,"0");
i_dmid = atoll(c_dmid);
ctl = mixer_get_ctl_by_name(adev->mixer, mixer_ctl_name);
@@ -565,7 +565,7 @@
const char *mixer_ctl_name = "DS2 OnOff";
struct mixer_ctl *ctl;
- property_get("audio.dolby.ds2.enabled", value, NULL);
+ property_get("vendor.audio.dolby.ds2.enabled", value, NULL);
ds2_enabled = atoi(value) || !strncmp("true", value, 4);
ALOGV("%s:", __func__);
@@ -612,7 +612,7 @@
/* As ACDB based license mechanism is disabled, force set the license key to 0*/
i_key = 0;
#endif
- property_get("dmid",c_dmid,"0");
+ property_get("vendor.audio.dmid",c_dmid,"0");
i_dmid = atoll(c_dmid);
ALOGV("%s Setting DS1 License, key:0x%x dmid %d",__func__, i_key,i_dmid);
dolby_license.dmid = i_dmid;