hal: Update property name to reflect proper name convention

Update property name for qaf m8 library and g711 encoder to
comply with Treble naming convention.

CRs-Fixed: 2183365

Change-Id: Ieb2bf02ca70e44e2852e2dadf89b72d47941ca4d
This commit is contained in:
Garmond Leung 2018-02-01 10:28:40 -08:00 committed by Gerrit - the friendly Code Review server
parent 466b25ee29
commit 1a7c7f0d32
3 changed files with 4 additions and 4 deletions

0
hal/audio_extn/qaf.c Executable file → Normal file
View File

View File

@ -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.debug.omx.logs.level"
*
* level OMX_LOGV OMX_LOGD
* ----------------------------------

View File

@ -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.debug.omx.logs.level", level, "0");
gOmxLogLevel = atoi(level);
#else
gOmxLogLevel = atoi("0");