summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramVertexFixedFunction.java
diff options
context:
space:
mode:
authorCassie Wang <cassiewang@google.com>2021-07-29 22:22:30 +0000
committerCassie Wang <cassiewang@google.com>2021-08-05 17:56:20 +0000
commitd5ecf755db10bf6bf6da39d0265910af06d64c87 (patch)
tree6a858c7bc1faa91df24840ad3ca8ea5ed98a08f1 /rs/java/android/renderscript/ProgramVertexFixedFunction.java
parent28a9850a8da2dd80920f5f3ff78f54ef5eedcf32 (diff)
Run verifications on callingUser, not targetUser.
We have two verifications on each API call: 1) that the caller is not coming from an instant app, in which case it shouldn't have access to other app data, and 2) that the calling uid matches the caller's package name and user handle. We were previously running these checks on the targetUser, which could be different from the callingUser. This is one of the blockers re-enabling cross-user support. Bug: 193902620 Bug: 194939218 Test: atest -m -c --rebuild-module-info CtsAppSearchTestCases FrameworksCoreTests:android.app.appsearch FrameworksServicesTests:com.android.server.appsearch CtsAppSearchHostTestCases Change-Id: I9ef21efcbf26e2680c712867f05fd4adbf243b8e
Diffstat (limited to 'rs/java/android/renderscript/ProgramVertexFixedFunction.java')
0 files changed, 0 insertions, 0 deletions