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

am: 9a4842894a

Change-Id: I629f6f28d3dbc311aaf219ca468dcba305000fbd
gugelfrei
Mikhail Naganov 6 years ago committed by android-build-merger
commit b4dfe1c017

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