diff options
author | Jing Ji <jji@google.com> | 2021-06-03 12:29:31 -0700 |
---|---|---|
committer | Jing Ji <jji@google.com> | 2021-06-03 12:45:34 -0700 |
commit | 42e44711fa5e5ba20604d654ae74b22dd73b3a40 (patch) | |
tree | 9d50cc061a38cf0eedbfcc23345acbc5323b2bac /rs/java/android/renderscript/ProgramFragmentFixedFunction.java | |
parent | 327a27161795688b50ce02a35903d17055a4b622 (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 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions