diff options
author | Eran Messeri <eranm@google.com> | 2019-03-14 09:38:21 +0000 |
---|---|---|
committer | Eran Messeri <eranm@google.com> | 2019-03-14 09:38:21 +0000 |
commit | 518a01a26a41c9fc3d5ef871c88ad1457d32b5d4 (patch) | |
tree | 34df4ceed15448f6b965833e7f629aba3b7b32ef /rs/java/android/renderscript/RenderScript.java | |
parent | c7f498fe0bceca283c384ac303422fd8e9d0eccf (diff) |
DPM API review: Remove "ForUser" method
Replace the setProfileOwnerCanAccessDeviceIdsForUser with
setProfileOwnerCanAccessDeviceIds that takes the DPM's user ID.
Per automated API review, new methods that target a specific user (by
taking in a UserHandle) are discouraged.
Instead, the caller should get the user-specific service from the user
context.
Bug: 126700461
Bug: 126699845
Test: Manually, flashed a device and set-up TestDPC on it straight to
work profile, then verified it can do Device ID attestation.
Test: atest FrameworksServicesTests:DevicePolicyManagerTest
Change-Id: I13f20f4a434394f266a3dc2373152cb1b9ea2d2b
Diffstat (limited to 'rs/java/android/renderscript/RenderScript.java')
0 files changed, 0 insertions, 0 deletions