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

Commit 9a484289 authored by Mikhail Naganov's avatar Mikhail Naganov Committed by Gerrit Code Review
Browse files

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

parents 5f14ecce 71c90911
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;
}