summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramVertexFixedFunction.java
diff options
context:
space:
mode:
authorHai Zhang <zhanghai@google.com>2020-10-28 19:58:21 -0700
committerHai Zhang <zhanghai@google.com>2020-10-29 15:47:48 -0700
commit3641ff8031c592caa89489597186e8b16b01dfe1 (patch)
tree7466b3138d4c4ac2034663697b29b87289a3c813 /rs/java/android/renderscript/ProgramVertexFixedFunction.java
parent4583da1a691e69371e1fbfef5a9413fc5abc7d8c (diff)
Remove locking inside PermissionRegistry.
This change removes the locking inside PermissionRegistry, and makes sure that the PermissionManagerService lock is held when calling into PermissionRegistry. There are still a small number of cases where a Permission instance may be retrieved under the lock, but used outside of the locked block. This may be okay because it doesn't contain any collection classes that absolutely requires synchronized access, and the worst theoretical effect is slightly outdated data (if that's even possible in reality). This has been happening for years in past releases, and permissions almost never change after being registered. Bug: 158736025 Test: manual Change-Id: I8d1c8b64f6db169e8feb23e779db3f326469c5fe
Diffstat (limited to 'rs/java/android/renderscript/ProgramVertexFixedFunction.java')
0 files changed, 0 insertions, 0 deletions