diff options
author | Alex Johnston <acjohnston@google.com> | 2020-02-13 11:15:36 +0000 |
---|---|---|
committer | Alex Johnston <acjohnston@google.com> | 2020-02-17 17:29:31 +0000 |
commit | a875e43280696029fa4cbcb811c77d321f8353b0 (patch) | |
tree | daf7767416432d6bb71c224df18fcdbd788d31e0 /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | 87ef8d49480276529953e6375e7b770fdaf2859a (diff) |
Modified getActiveAdminsForAffectedUser
* Removed parent parameter from method.
* If user is a managed profile, return active admins for that user.
* If user is not a managed profile, then add all the active admins
for that user and the parent active admins of managed profiles
associated with it.
Bug: 149461308
Test: atest com.android.server.devicepolicy.DevicePolicyManagerTest
atest com.android.cts.devicepolicy.MixedDeviceOwnerTest#testAdminConfiguredNetworks
atest com.android.cts.devicepolicy.MixedDeviceOwnerTest#testSetCameraDisabledLogged
atest com.android.cts.devicepolicy.OrgOwnedProfileOwnerTest#testAdminConfiguredNetworks
atest com.android.cts.devicepolicy.OrgOwnedProfileOwnerTest#testCameraDisabledOnParentLogged
Change-Id: I3a4f9dd9f43c1acd7115aede6d26bb288b110c80
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions