Mute: Update logging
Prevent undetected unexpected muting.
Raise logging level to persist important messages longer.
Test: logcat
Bug: 326139945
Merged-In: I734800b29ca150ed4a85923197b15b768abf7ca2
Change-Id: I734800b29ca150ed4a85923197b15b768abf7ca2
diff --git a/services/audioflinger/Threads.cpp b/services/audioflinger/Threads.cpp
index 4fdf79f..bba3d86 100644
--- a/services/audioflinger/Threads.cpp
+++ b/services/audioflinger/Threads.cpp
@@ -11061,7 +11061,7 @@
char *endptr;
unsigned long ul = strtoul(value, &endptr, 0);
if (*endptr == '\0' && ul != 0) {
- ALOGD("Silence is golden");
+ ALOGW("%s: mute from ro.audio.silent. Silence is golden", __func__);
// The setprop command will not allow a property to be changed after
// the first time it is set, so we don't have to worry about un-muting.
setMasterMute_l(true);