summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorLucas Dupin <dupin@google.com>2017-10-23 14:31:45 -0700
committerLucas Dupin <dupin@google.com>2017-10-24 17:52:58 +0000
commite0653fabe69a1de289f833402463699e87bb1eab (patch)
tree3817e0aa090adea1f7a841130a570cd8117df521 /tools/aapt2/java/JavaClassGenerator_test.cpp
parent4d3b424caea30a2e82211bdf7db73a7926034cb0 (diff)
Fix SliceProvider threading
Binding a slice that lives in the same process would lead to a deadlock since we'd sleep the main thread while waiting for it to decrease the CountdownLatch. Now we're checking if we're already in the main looper and only posting when necessary. Test: run code in ag/3082570 Change-Id: Id7c4f9dd8d84bf0e513606cbe07bf87750c567e4
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions