summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramFragmentFixedFunction.java
diff options
context:
space:
mode:
authorPavel Grafov <pgrafov@google.com>2019-06-27 14:01:21 +0100
committerPavel Grafov <pgrafov@google.com>2019-07-02 16:36:02 +0100
commit51224f6458335f41913f9b44371b32bfa8650b49 (patch)
tree25907ccb03b7f3319626904d0e1c8972f91873e9 /rs/java/android/renderscript/ProgramFragmentFixedFunction.java
parent0a0be77a82ac19cff659f05c9d71ec2c3b4ce5f9 (diff)
Minor refactoring in DPMS.
* extracted enforceSystemCaller * only allow system callers to call reportPasswordChanged. Currently access is limited to callers posessing BIND_DEVICE_ADMIN and having cross-user permission when calling for different user. Since this is a hidden API and is only called from LockSettingsService, narrow callers down to system only. Bug: none Test: atest --generate-new-metrics 10 com.android.cts.devicepolicy.ManagedProfileTest#testResetPasswordWithTokenBeforeUnlock com.android.cts.devicepolicy.ManagedProfileTest#testClearPasswordWithTokenBeforeUnlock Change-Id: Iab4ff1e4827a6217eedc5fade5641845ad72e8f0
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions