Fix issue 1999585: audioflinger crash.

We were looping on the number of playback threads when dumping record threads.
This commit is contained in:
Eric Laurent
2009-07-23 13:35:01 -07:00
parent c0da1bf9e2
commit 102313a95d

View File

@@ -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);
}