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

Commit b4dfe1c0 authored by Mikhail Naganov's avatar Mikhail Naganov Committed by android-build-merger
Browse files

Merge "Keep verbose log statements, but silence them by default"

am: 9a484289

Change-Id: I629f6f28d3dbc311aaf219ca468dcba305000fbd
parents 78ad48bc 9a484289
Loading
Loading
Loading
Loading
+9 −1
Original line number Diff line number Diff line
@@ -15,7 +15,12 @@
 */

#define LOG_TAG "APM_AudioPolicyManager"
//#define LOG_NDEBUG 0

// Need to keep the log statements even in production builds
// to enable VERBOSE logging dynamically.
// You can enable VERBOSE logging as follows:
// adb shell setprop log.tag.APM_AudioPolicyManager V
#define LOG_NDEBUG 0

//#define VERY_VERBOSE_LOGGING
#ifdef VERY_VERBOSE_LOGGING
@@ -4168,6 +4173,9 @@ status_t AudioPolicyManager::initialize() {
        status = NO_INIT;
    }

    // Silence ALOGV statements
    property_set("log.tag." LOG_TAG, "D");

    updateDevicesAndOutputs();
    return status;
}