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

Skip to content
Commit 5793c7d8 authored by Alec Mouri's avatar Alec Mouri
Browse files

[SurfaceFlinger] Resolve deadlock in SurfaceTracing.

SurfaceTracing cannot acquire mStateLock while mDrawingStateLock is
held. SurfaceTracing only needs to acquire mStateLock for getting the
default DisplayDevice for getting a layer's HWC composition type. As a
workaround, grab the DisplayDevice ahead of time.

Bug: 151108871
Test: builds
Change-Id: I84a76694e9890242c666ec5e3eb04d4114f8240a
parent 89290018
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