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

Commit fcf15bf4 authored by François Gaffie's avatar François Gaffie Committed by Eric Laurent
Browse files

audioflinger: effect: fix deadlock after dumpsys



Bug: 268441977
Test: add a device effect, call dumpsys twice, proxy is marked as "might
be deadlocked"

This CL fixes lock/unlock on the wrong lock

Change-Id: I6923e891a0d87a1be87edbaf44baa554ee729adb
Signed-off-by: default avatarFrançois Gaffie <francois.gaffie@renault.com>
parent b8551f62
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -3485,7 +3485,7 @@ NO_THREAD_SAFETY_ANALYSIS // conditional try lock
    }

    if (locked) {
        mLock.unlock();
        mProxyLock.unlock();
    }
}