From 2d6b451d246677bec0e8dee7830fc9b9c68af16d Mon Sep 17 00:00:00 2001 From: Garmond Leung Date: Mon, 26 Mar 2018 14:22:30 -0700 Subject: [PATCH] mm-audio: aenc: Update log level property name Update to use vendor property name. CRs-Fixed: 2213067 Change-Id: I1c666788345dbbe2b679496d364435eb39ca3e73 --- mm-audio/aenc-g711/qdsp6/inc/omx_log.h | 4 ++-- mm-audio/aenc-g711/qdsp6/src/omx_log.cpp | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/mm-audio/aenc-g711/qdsp6/inc/omx_log.h b/mm-audio/aenc-g711/qdsp6/inc/omx_log.h index 0080ccc1..f13d340c 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 @@ IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 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 39498be6..a1e847da 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 @@ uint32_t gOmxLogLevel; 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");