Merge "Keep verbose log statements, but silence them by default" am: 9a4842894a

am: b4dfe1c017

Change-Id: I76fb0c7d906533f9fb10026f43dde25ab45e7755
gugelfrei
Mikhail Naganov 6 years ago committed by android-build-merger
commit 71085b5a77

@ -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;
}

Loading…
Cancel
Save