summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramFragmentFixedFunction.java
diff options
context:
space:
mode:
authorEran Messeri <eranm@google.com>2020-10-05 21:41:58 +0100
committerEran Messeri <eranm@google.com>2020-10-19 12:07:41 +0100
commitf42508254c6afb1c585a46d9775cb18260bf2edb (patch)
treedcbde4561a06649f9a4c7dfa7d57f849f55ca9d3 /rs/java/android/renderscript/ProgramFragmentFixedFunction.java
parent83348e3862831cf9ca02fe707480081c65c384b1 (diff)
Remove more profile_owner policy refs
Convert more call sites in the DevicePolicyManagerService to get the caller and check if it's the DO/PO, instead of relying on calls to getActiveAdmin with the USES_POLICY_PROFILE_OWNER constant. The change also makes isDeviceOwner / isProfileOwner return a correct answer when the caller identity object does not have the admin component name (as one was not provided by the caller). In those cases, the UID of the calling app will be used to find out if it is of an active admin that's a DO/PO. Bug: 163028934 Test: atest FrameworksServicesTests:DevicePolicyManagerTest Test: atest com.android.cts.devicepolicy.OrgOwnedProfileOwnerTest com.android.cts.devicepolicy.MixedDeviceOwnerTest com.android.cts.devicepolicy.MixedProfileOwnerTest Change-Id: I4dd8cb7368d5c66b3ad67317e8bab8f7cecbe899
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions