Merge "Fix DevicePolicyManagerServiceMigrationTest."
This commit is contained in:
@@ -183,7 +183,8 @@ public class DevicePolicyManagerServiceMigrationTest extends DpmTestBase {
|
||||
// Check the new owner restrictions.
|
||||
DpmTestUtils.assertRestrictions(
|
||||
DpmTestUtils.newRestrictions(
|
||||
UserManager.DISALLOW_ADD_USER
|
||||
UserManager.DISALLOW_ADD_USER,
|
||||
UserManager.DISALLOW_ADD_MANAGED_PROFILE
|
||||
),
|
||||
dpms.getDeviceOwnerAdminLocked().ensureUserRestrictions());
|
||||
|
||||
|
||||
Reference in New Issue
Block a user