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

Commit d3934149 authored by Andy Hung's avatar Andy Hung
Browse files

Revert "audioflinger: Temporary disable post-close dumping of input streams"

This reverts commit 900e05ed.

Reason for revert: Updated FdToString with timeout, avoids hang.
Test: continuous reboot check
Bug: 116211629
Bug: 116873928
Change-Id: Ifb954a15932e7754a63ff449c907b8664b134573
parent 900e05ed
Loading
Loading
Loading
Loading
+0 −4
Original line number Diff line number Diff line
@@ -2500,9 +2500,7 @@ status_t AudioFlinger::closeInput_nonvirtual(audio_io_handle_t input)
        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 @@ status_t AudioFlinger::closeInput_nonvirtual(audio_io_handle_t input)
            if (mmapThread == 0) {
                return BAD_VALUE;
            }
#if 0
            dumpToThreadLog_l(mmapThread);
#endif
            mMmapThreads.removeItem(input);
        }
        const sp<AudioIoDescriptor> ioDesc = new AudioIoDescriptor();