mm-audio: aenc: Update log level property name
Update to use vendor property name.
CRs-Fixed: 2213067
Change-Id: I1c666788345dbbe2b679496d364435eb39ca3e73
diff --git a/mm-audio/aenc-g711/qdsp6/inc/omx_log.h b/mm-audio/aenc-g711/qdsp6/inc/omx_log.h
index 0080ccc..f13d340 100644
--- a/mm-audio/aenc-g711/qdsp6/inc/omx_log.h
+++ b/mm-audio/aenc-g711/qdsp6/inc/omx_log.h
@@ -1,5 +1,5 @@
/*--------------------------------------------------------------------------
-Copyright (c) 2016, The Linux Foundation. All rights reserved.
+Copyright (c) 2016, 2018 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
@@ -35,7 +35,7 @@
using namespace std;
/*
- * Change logging-level at runtime with "persist.debug.omx.logs.level"
+ * Change logging-level at runtime with "persist.vendor.audio.debug.omx.logs.level"
*
* level OMX_LOGV OMX_LOGD
* ----------------------------------
diff --git a/mm-audio/aenc-g711/qdsp6/src/omx_log.cpp b/mm-audio/aenc-g711/qdsp6/src/omx_log.cpp
index 39498be..a1e847d 100644
--- a/mm-audio/aenc-g711/qdsp6/src/omx_log.cpp
+++ b/mm-audio/aenc-g711/qdsp6/src/omx_log.cpp
@@ -1,5 +1,5 @@
/*--------------------------------------------------------------------------
-Copyright (c) 2016 The Linux Foundation. All rights reserved.
+Copyright (c) 2016, 2018 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
@@ -40,7 +40,7 @@
void updateLogLevel() {
char level[PROPERTY_VALUE_MAX];
#ifdef ANDROID
- property_get("persist.debug.omx.logs.level", level, "0");
+ property_get("persist.vendor.audio.debug.omx.logs.level", level, "0");
gOmxLogLevel = atoi(level);
#else
gOmxLogLevel = atoi("0");