summaryrefslogtreecommitdiff
path: root/tools/aapt2/diff/Diff.cpp
diff options
context:
space:
mode:
authorTony Mak <tonymak@google.com>2016-10-10 15:48:27 +0100
committerTony Mak <tonymak@google.com>2016-10-11 12:46:32 +0000
commit6dc428f677f2b80b085466961e9495972e1c88c9 (patch)
treed454419317adddd86d21b1e4dd92a194b2d47d89 /tools/aapt2/diff/Diff.cpp
parent7e98d9e249caaefa3343e9c10d864bdfaa411d95 (diff)
Allow device owner to inflate managed profile
1. Modify DPM.isProvisioningAllowed to allow it to happen 2. Introduce hidden API createProfileForUserEvenWhenDisallowed for ManagedProvisioning app to create profile under DO. Apps with MANAGE_USERS permission can clear the DISALLOW_ADD_USER restriction anyway, so they do not gain extra power. Test: runtest -x frameworks/base/services/tests/servicestests/src/com/android/server/pm/UserManagerTest.java Test: cts-tradefed run cts --module DevicePolicyManager --test com.android.cts.devicepolicy.CustomDeviceOwnerTest#testIsProvisioningAllowed Bug: 31895999 Change-Id: I10dc3043653130ae717a1d3d8256c9e73231bb21
Diffstat (limited to 'tools/aapt2/diff/Diff.cpp')
0 files changed, 0 insertions, 0 deletions