Revert "audioflinger: Temporary disable post-close dumping of input streams"
This reverts commit 900e05edf84a3401e0bc9d6c824686c6b16b1e9e.
Reason for revert: Updated FdToString with timeout, avoids hang.
Test: continuous reboot check
Bug: 116211629
Bug: 116873928
Change-Id: Ifb954a15932e7754a63ff449c907b8664b134573
diff --git a/services/audioflinger/AudioFlinger.cpp b/services/audioflinger/AudioFlinger.cpp
index 62fd5f7..06975ac 100644
--- a/services/audioflinger/AudioFlinger.cpp
+++ b/services/audioflinger/AudioFlinger.cpp
@@ -2500,9 +2500,7 @@
if (recordThread != 0) {
ALOGV("closeInput() %d", input);
-#if 0
dumpToThreadLog_l(recordThread);
-#endif
// If we still have effect chains, it means that a client still holds a handle
// on at least one effect. We must either move the chain to an existing thread with the
@@ -2546,9 +2544,7 @@
if (mmapThread == 0) {
return BAD_VALUE;
}
-#if 0
dumpToThreadLog_l(mmapThread);
-#endif
mMmapThreads.removeItem(input);
}
const sp<AudioIoDescriptor> ioDesc = new AudioIoDescriptor();