configs: Update prefixes for audio system properties
Vendor created android properties are required to have
vendor prefixes. Update vendor specific audio system
property configs
CRs-Fixed: 2034869
Change-Id: Idbb72949950ccef98d1b997e8b3e1a58e3a007c6
diff --git a/post_proc/asphere.c b/post_proc/asphere.c
index bbf1056..885e85b 100644
--- a/post_proc/asphere.c
+++ b/post_proc/asphere.c
@@ -1,4 +1,4 @@
-/* Copyright (c) 2015, The Linux Foundation. All rights reserved.
+/* Copyright (c) 2015, 2017 The Linux Foundation. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are
@@ -166,7 +166,7 @@
char propValue[PROPERTY_VALUE_MAX] = {0};
bool set_enable = false, set_strength = false;
- if (!property_get("audio.pp.asphere.enabled", propValue, "false") ||
+ if (!property_get("vendor.audio.pp.asphere.enabled", propValue, "false") ||
(strncmp("true", propValue, 4) != 0)) {
ALOGV("%s: property not set!!! not doing anything", __func__);
return;
@@ -208,7 +208,7 @@
char propValue[PROPERTY_VALUE_MAX] = {0};
int get_status, get_enable, get_strength, ret;
- if (!property_get("audio.pp.asphere.enabled", propValue, "false") ||
+ if (!property_get("vendor.audio.pp.asphere.enabled", propValue, "false") ||
(strncmp("true", propValue, 4) != 0)) {
ALOGV("%s: property not set!!! not doing anything", __func__);
return;
@@ -265,7 +265,7 @@
char propValue[PROPERTY_VALUE_MAX] = {0};
ALOGV("%s: effect %0x", __func__, context->desc->type.timeLow);
- if (!property_get("audio.pp.asphere.enabled", propValue, "false") ||
+ if (!property_get("vendor.audio.pp.asphere.enabled", propValue, "false") ||
(strncmp("true", propValue, 4) != 0)) {
ALOGV("%s: property not set!!! not doing anything", __func__);
return;