Fix deadlock
mSurface.destroy() may block on a HardwareRenderer if lockHardwareCanvas is used. mSurfaceControlLock is also used on the RenderThread, so it cannot hold that lock when potentially calling into HardwareRenderer as this is a deadlock risk. Fixes: 244616968 Test: guess Change-Id: Iedb6f3ce80f47a67b4427550f27851c3b9e3e242
Loading
Please register or sign in to comment