summaryrefslogtreecommitdiff
path: root/libs/androidfw/Util.cpp
diff options
context:
space:
mode:
author John Reck <jreck@google.com> 2022-11-23 16:15:39 -0500
committer John Reck <jreck@google.com> 2022-11-23 21:18:25 +0000
commit7fb2891673c215ef006b143ec21da3205ff0f484 (patch)
treec14ed35a1ee5a21c7820d4081147ec96baa25e03 /libs/androidfw/Util.cpp
parent5c2bd27f777747ca658f83c6004effe66ee6c35c (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
Diffstat (limited to 'libs/androidfw/Util.cpp')
0 files changed, 0 insertions, 0 deletions