summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramVertexFixedFunction.java
diff options
context:
space:
mode:
authorJackal Guo <jackalguo@google.com>2019-08-14 15:23:52 +0800
committerJackal Guo <jackalguo@google.com>2019-08-20 10:35:40 +0800
commitb07d98eaac6bceaf843c343286ca8d88db14e682 (patch)
treeca5b43a113fd94653b079677b214bf667765219d /rs/java/android/renderscript/ProgramVertexFixedFunction.java
parent204a7dd855ecd602705e2f5e052e23271c23ce07 (diff)
Return false instead of throwing exception
The method isCalledForCurrentedUserLocked() is used to check if callers have privilege to perform some actions. However, calling A11ySecurityPolict#resolveCallingUserIdEnforcingPermissionsLocked may get SecurityException when calls from different users without permissions directly. Checking the calling UID and user without throwing SecurityException for active a11y service instead of the original one. Bug: 62958230 Test: a11y CTS & unit tests Change-Id: I0062612bc73d507db21e151dccaf6609d9e0eaf4
Diffstat (limited to 'rs/java/android/renderscript/ProgramVertexFixedFunction.java')
0 files changed, 0 insertions, 0 deletions