diff options
author | Bookatz <bookatz@google.com> | 2019-05-30 15:58:46 -0700 |
---|---|---|
committer | Bookatz <bookatz@google.com> | 2019-05-30 16:51:09 -0700 |
commit | 95df5ca7fe47ca1be6e6fb6d7fa085c1e53620dd (patch) | |
tree | edd840bf5c067733bb58b357e872492c9eddd06b /rs/java/android/renderscript/ProgramFragmentFixedFunction.java | |
parent | 4c07595040008ecf162a909bc1eb60b0f66c8978 (diff) |
switchUser checks INTERACT_ACROSS_USERS_FULL
Previously, there were implicit checks for other permissions. Here we
add an explicit check for INTERACT_ACROSS_USERS_FULL, in line with
startUser and stopUser.
We also clean up the code by introducing a checkCallingPermission
method, but this introduces no functional changes.
Fixes: 128601341
Test: Manual confirmation that a test app cannot call switchUser but
that shell can. Same for all changed methods.
Change-Id: I447ee7a7fbf634fee602613a6287fdccf835128a
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions