summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator.cpp
diff options
context:
space:
mode:
authorAlex Johnston <acjohnston@google.com>2019-11-20 14:37:13 +0000
committerAlex Johnston <acjohnston@google.com>2019-11-27 18:49:47 +0000
commitece5cdb89b35c0603223cfae097c785e5de9417d (patch)
treed529847bae1b8afea9e468726f3b425a21e74e7b /tools/aapt2/java/JavaClassGenerator.cpp
parent37777b2dbfeceaeb282d5a3f88cb4d3c41b8381f (diff)
Changed parameters in setDevicePolicyUserRestriction
In the new COPE mode, some user restrictions should be applied globally when called by the Work Profile PO. This CL introduces a new @IntDef int parameter, called admin, which can be either DEVICE_OWNER, PROFILE_OWNER or PROFILE_OWNER_ORG_OWNED_DEVICE. If admin is PROFILE_OWNER_ORG_OWNER_DEVICE then specific user restrictions will be added to the global bundle instead of the local bundle. This CL also removes the parameter cameraRestrictionScope and isDeviceOwner. Bug: 138709470 Test: UserRestrictionsUtilsTest DevicePolicyManagerTest UserRestrictionsTest Change-Id: Iaa0abbac47708d2d54bcf6c3df582414dff5a6c3
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions