summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator.cpp
diff options
context:
space:
mode:
authorAlex Johnston <acjohnston@google.com>2020-05-04 13:32:07 +0100
committerAlex Johnston <acjohnston@google.com>2020-05-26 14:32:01 +0100
commit97b68a53fb47587c2ba70475782d6fa8cf0f8694 (patch)
tree82f223fe0efbdbc814d65a6de9a558f9356e16cb /tools/aapt2/java/JavaClassGenerator.cpp
parent78a66d6c36451d8c91b2473e3b4ac8bafbd79b41 (diff)
Per-profile user restrictions in org-owned managed profile
Background * Some user restrictions should be per-profile instead of per-device to allow for more granularity. * For this reason, the profile owner of an organization-owned managed profile should apply user restrictions the same way as the profile owner on the personal user (instead of the device owner). Changes * Move per-profile user restrictions from PROFILE_OWNER_ORGANIZATION_OWNED_GLOBAL_RESTRICTIONS to PROFILE_OWNER_ORGANIZATION_OWNED_LOCAL_RESTRICTIONS in UserRestrictionsUtils * Update UserManager javadocs * Update DevicePolicyManagerTest Bug: 148453838 Test: atest com.android.server.devicepolicy.DevicePolicyManagerTest atest com.android.cts.devicepolicy.OrgOwnedProfileOwnerTest#testDevicePolicyManagerParentSupport atest com.android.cts.devicepolicy.OrgOwnedProfileOwnerTest#testUserRestrictionSetOnParentLogged atest com.android.cts.devicepolicy.OrgOwnedProfileOwnerTest#testUserRestrictionsSetOnParentAreNotPersisted atest com.android.cts.devicepolicy.OrgOwnedProfileOwnerTest#testPerProfileUserRestrictionOnParent atest com.android.cts.devicepolicy.OrgOwnedProfileOwnerTest#testPerDeviceUserRestrictionOnParent atest com.android.cts.devicepolicy.OrgOwnedProfileOwnerTest#testCameraDisabledOnParentIsEnforced atest com.android.cts.devicepolicy.OrgOwnedProfileOwnerTest#testCameraDisabledOnParentLogged Change-Id: I431f7b9bf45a24b77f62899794561d6098f2a54b
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions