AudioFlinger: Update DeviceEffectManager class includes
Test: atest AudioRecordTest AudioTrackTest
Test: Camera YouTube
Bug: 292018229
Merged-In: I05b1a7fafe66dde48b23f1659b8484dfa21fd04c
Change-Id: I05b1a7fafe66dde48b23f1659b8484dfa21fd04c
diff --git a/services/audioflinger/Threads.cpp b/services/audioflinger/Threads.cpp
index dacf656..ea66457 100644
--- a/services/audioflinger/Threads.cpp
+++ b/services/audioflinger/Threads.cpp
@@ -94,6 +94,7 @@
#include <fastpath/AutoPark.h>
#include <pthread.h>
+#include <afutils/DumpTryLock.h>
#include <afutils/TypedLogger.h>
// ----------------------------------------------------------------------------
@@ -949,7 +950,7 @@
dprintf(fd, "\n%s thread %p, name %s, tid %d, type %d (%s):\n", isOutput() ? "Output" : "Input",
this, mThreadName, getTid(), type(), threadTypeToString(type()));
- bool locked = AudioFlinger::dumpTryLock(mLock);
+ const bool locked = afutils::dumpTryLock(mLock);
if (!locked) {
dprintf(fd, " Thread may be deadlocked\n");
}