summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorRobert Carr <racarr@google.com>2020-05-13 11:23:43 -0700
committerRob Carr <racarr@google.com>2020-05-13 18:29:59 +0000
commitebaaca1a46b792d4d79f87d02059686ad30b4fa2 (patch)
tree48c383a3b955d4ed677996ce3cecedf4c5891da8 /tools/aapt2/java/JavaClassGenerator_test.cpp
parent43d32906a8a51b37bbb118c8febd4cea341331b4 (diff)
SurfaceView: positionLost locking fix
positionLost can be called from CanvasContext::destroyHardwareResources which runs asynchronously to the UI thread. This means we could be simultaneously executing releaseSurfaces on the UI thread. We need to expand the scope of mSurfaceControl lock in positionLost. While we are here we add a block comment explaining the previously undocumented locking strategy. Bug: 156264048 Test: Existing tests pass Change-Id: I9cdb6a0f7aeffd878f1755f240e8896f0fb8bf01
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions