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

Commit e4f0d2c5 authored by Treehugger Robot's avatar Treehugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Rename FdToString for flagging purposes" into main

parents 264cbada 36a6a43f
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -3584,7 +3584,7 @@ std::vector< sp<IAfEffectModule> > AudioFlinger::purgeOrphanEffectChains_l()
void AudioFlinger::dumpToThreadLog_l(const sp<IAfThreadBase> &thread)
{
    constexpr int THREAD_DUMP_TIMEOUT_MS = 2;
    audio_utils::FdToString fdToString("- ", THREAD_DUMP_TIMEOUT_MS);
    audio_utils::FdToStringOldImpl fdToString("- ", THREAD_DUMP_TIMEOUT_MS);
    const int fd = fdToString.borrowFdUnsafe();
    if (fd >= 0) {
        thread->dump(fd, {} /* args */);