diff options
author | Eran Messeri <eranm@google.com> | 2020-08-17 15:16:20 +0100 |
---|---|---|
committer | Eran Messeri <eranm@google.com> | 2020-08-18 22:50:31 +0100 |
commit | 9ac405b39e5181564f8626d452025ec477350d9d (patch) | |
tree | 2a14bad7486f61ba077572e295c4f3d00d41eb98 /rs/java/android/renderscript/ProgramFragmentFixedFunction.java | |
parent | 9fd6be5d17c42ed5e39b2ecf2f007dbed03c292e (diff) |
DPMS refactoring: Get Profile / Device owner
Get the Profile Owner or Device Owner directly, rather than using the
ComponentName provided by the caller to look it up.
For DevicePolicyManager methods that are only callable by DO or PO,
there is no need to use the ComponentName to distinguish between
different potential admins, as there could be only one.
Bug: 163028934
Test: atest FrameworksServicesTests:DevicePolicyManagerTest
Test: atest com.android.cts.devicepolicy.MixedDeviceOwnerTest
Change-Id: I5fc3345101c8f61c12a9bbdbd224e95e719a0795
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions