summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramStore.java
diff options
context:
space:
mode:
authorEran Messeri <eranm@google.com>2020-09-22 12:18:50 +0100
committerEran Messeri <eranm@google.com>2020-09-30 19:06:04 +0100
commit80204fe75ddc54aed7e4d5cd21c3eae83dca3181 (patch)
treee39c0ce790189ec09f1c2ef1dcbc8346c3ed42fc /rs/java/android/renderscript/ProgramStore.java
parent9bca9776187754b0589399a9d8f16373d3514cbc (diff)
Explicitly get org-owned admin in DPMS
Refactor the DevicePolicyManagerService such that every method that requires the ActiveAdmin associated with a profile owner on an organization-owned device does the following: * Checks if the caller is a profile owner on an org-owned device, or a device owner. * Get the ActiveAdmin associated with the profile owner or device owner. This is instead of calling getActiveAdmin with the org_owned profile owner policy, which is now removed. For the most part, this change does not affect DPMS functionality. The few methods that were specific to org-owned devices with a managed profile are now properly restricted and cannot be called by a device owner. Bug: 163028934 Test: atest FrameworksServicesTests:DevicePolicyManagerTest Test: atest com.android.cts.devicepolicy.OrgOwnedProfileOwnerTest com.android.cts.devicepolicy.MixedDeviceOwnerTest Change-Id: I9463499d9e343b4e52d6f9cdbe1d618e58f59a49
Diffstat (limited to 'rs/java/android/renderscript/ProgramStore.java')
0 files changed, 0 insertions, 0 deletions