diff options
author | Cassie Wang <cassiewang@google.com> | 2021-02-09 13:43:25 -0800 |
---|---|---|
committer | Cassie Wang <cassiewang@google.com> | 2021-02-11 14:30:59 -0800 |
commit | 446c9e63a6bbbe206cedfdbb38ab7858ac98d7f9 (patch) | |
tree | 7ec8c9d6ab07f71428f85054f89122c21031c1f0 /rs/java/android/renderscript/ProgramVertexFixedFunction.java | |
parent | 17373ec548ce93bd8dcec4c9849d9a4e34585c2b (diff) |
Fix locking issues.
* Synchronize access to unlocked user cache. The cache will be checked
for each API call. Add synchronization blocks when reading/writing to
it.
* Synchronize and remove double locking for access to static array of
AppSearchImpl instances.
Bug: 179406838
Test: atest -m -c --rebuild-module-info CtsAppSearchTestCases
FrameworksCoreTests: android.app.appsearch
FrameworksServicesTests: com.android.server.appsearch
Change-Id: Ibaf0d6ff07b4e2f15f3479ff56e143a34ce453e3
Diffstat (limited to 'rs/java/android/renderscript/ProgramVertexFixedFunction.java')
0 files changed, 0 insertions, 0 deletions