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

Commit 1e1d3f72 authored by Atneya Nair's avatar Atneya Nair
Browse files

Refactor FdToString callsite

[SAFE CHANGE] Renaming methods at call site.

Test: Compiles
Bug: 306283018
Change-Id: I675e552308005f4f8d9c63c7cedef4434648d8e3
parent b2cb48a6
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -3585,10 +3585,10 @@ void AudioFlinger::dumpToThreadLog_l(const sp<IAfThreadBase> &thread)
{
    constexpr int THREAD_DUMP_TIMEOUT_MS = 2;
    audio_utils::FdToString fdToString("- ", THREAD_DUMP_TIMEOUT_MS);
    const int fd = fdToString.fd();
    const int fd = fdToString.borrowFdUnsafe();
    if (fd >= 0) {
        thread->dump(fd, {} /* args */);
        mThreadLog.logs(-1 /* time */, fdToString.getStringAndClose());
        mThreadLog.logs(-1 /* time */, fdToString.closeAndGetString());
    }
}