commit | 7fb2891673c215ef006b143ec21da3205ff0f484 | [log] [tgz] |
---|---|---|
author | John Reck <jreck@google.com> | Wed Nov 23 16:15:39 2022 -0500 |
committer | John Reck <jreck@google.com> | Wed Nov 23 21:18:25 2022 +0000 |
tree | c14ed35a1ee5a21c7820d4081147ec96baa25e03 | |
parent | 5c2bd27f777747ca658f83c6004effe66ee6c35c [diff] |
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