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

Commit fd558a97 authored by Eric Laurent's avatar Eric Laurent
Browse files

Fix issue 1999585: audioflinger crash.

We were looping on the number of playback threads when dumping record threads.
parent 1edcb091
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -235,7 +235,7 @@ status_t AudioFlinger::dump(int fd, const Vector<String16>& args)
        }

        // dump record threads
        for (size_t i = 0; i < mPlaybackThreads.size(); i++) {
        for (size_t i = 0; i < mRecordThreads.size(); i++) {
            mRecordThreads[i]->dump(fd, args);
        }