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

Commit 2896e20e authored by Melody Hsu's avatar Melody Hsu
Browse files

Scope locks for mirrorDisplay

Prevents deadlock between threads grabbing mStateLock and
mCreatedLayersLock by reducing the scope of mStateLock in
mirrorDisplay so that only one lock is held at a time

Fixes: b/411570724, b/415746305
Test: presubmit, atest SurfaceFlinger_test
Flag: EXEMPT, bug fix
Change-Id: Icdfedaf847d4720d67bb6e5138cdf6ba34001b37
parent bd52f5a3
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment