diff options
| author | 2023-08-14 09:05:59 +0000 | |
|---|---|---|
| committer | 2023-08-31 11:24:05 +0000 | |
| commit | 5ebe8acdaac5d2076245a4a38ee18b592ab3bac7 (patch) | |
| tree | d70e0a749be8743a7ef4e88738775b50e08ff6ee /libs/androidfw/AttributeResolution.cpp | |
| parent | 0ab2e88c13b4bd98b7acc0a63627c7779d1bcee2 (diff) | |
Add a DISALLOW_ADD_PRIVATE_PROFILE user restriction
Enforce this restriction while creating a private profile on devices
with device owner set.
Bug: 295865540
Test: atest FrameworksServicesTests:com.android.server.devicepolicy.DevicePolicyManagerTest
Test: atest FrameworksServicesTests:com.android.server.pm.UserManagerTest
Test: Manual - Verify private user creation is allowed before setting
the device admin, not allowed after setting the device admin, and
allowed again after removing the device admin.
Change-Id: Ie63f3eb71898917beb5b893a0b94e024b784e564
Diffstat (limited to 'libs/androidfw/AttributeResolution.cpp')
0 files changed, 0 insertions, 0 deletions