summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorJing Ji <jji@google.com>2021-06-03 12:29:31 -0700
committerJing Ji <jji@google.com>2021-06-03 12:45:34 -0700
commit42e44711fa5e5ba20604d654ae74b22dd73b3a40 (patch)
tree9d50cc061a38cf0eedbfcc23345acbc5323b2bac /tools/aapt2/java/JavaClassGenerator_test.cpp
parent327a27161795688b50ce02a35903d17055a4b622 (diff)
Fix a race condition in acquiring content provider
Client could be stuck at the lock before toggling the waiting flag, meanwhile the publishing of the provider could been holding the lock and check that flag, thus result in not notifying the client. Now setting the flag with the global lock held. Bug: 186228106 Bug: 190034355 Test: atest CtsContentTestCases:android.content.cts Test: atest FrameworksCoreTests:android.content Change-Id: I7c7a3326c302cc01e52a9a5d78ea9d089be0dcae
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions