Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 2d6b451d authored by Garmond Leung's avatar Garmond Leung
Browse files

mm-audio: aenc: Update log level property name

Update to use vendor property name.

CRs-Fixed: 2213067

Change-Id: I1c666788345dbbe2b679496d364435eb39ca3e73
parent 55770006
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
/*--------------------------------------------------------------------------
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
 * ----------------------------------
+2 −2
Original line number Diff line number Diff line
/*--------------------------------------------------------------------------
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");