summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorRob Carr <racarr@google.com>2020-03-09 11:22:30 -0700
committerRob Carr <racarr@google.com>2020-03-09 11:44:08 -0700
commit521e363a0ff5b90bec8f1fb6d5e10156af713a76 (patch)
tree9921ca6384287ed632c0e5c70c45658befd95de5 /tools/aapt2/java/JavaClassGenerator_test.cpp
parent91b4f26c5b40292eac5a00e477eb747f1f859ba3 (diff)
InsetController: Release leashes from RenderThread
We handle changes to the leashes from the UI thread, but use the same SurfaceControl wrapper object from the RenderThread with SyncRtSurfaceTransactionApplier. This means that at the time we release a SurfaceControl from the UI thread we might have already scheduled a SyncRtSurfaceTransactionApplier to use it, and actually that could be in the process of running, leading to racy access and crashes. To fix this we release the SurfaceControl from the RenderThread so that it happens behind all existing operations. Bug: 151086678 Test: Existing tests pass. Change-Id: I2308d1c64f3f368c32587f99ddfb9e05955f821f
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions