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

Commit 689a4b5f authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "mm-audio: aenc: Update log level property name"

parents 876c7d47 2d6b451d
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");