Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b781fc8e authored by Adam Bookatz's avatar Adam Bookatz
Browse files

Clarify DISALLOW_ADD_USER for DO

DISALLOW_ADD_USER is applied for organization-owned devices, even if not provisioned with a managed profile, so the text should be updated accordingly.


Bug: 394910130
Change-Id: I3a8659715506d7dd199b4651d5e143d99e7e7770
Test: N/A (javadoc only)
Flag: EXEMPT doc only
parent 645fcbae
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -982,8 +982,8 @@ public class UserManager {
    /**
     * Specifies if a user is disallowed from adding new users. This can only be set by device
     * owners or profile owners on the main user. The default value is <code>false</code>.
     * <p> When the device is an organization-owned device provisioned with a managed profile,
     * this restriction will be set as a base restriction which cannot be removed by any admin.
     * <p> When the device is an organization-owned device, this restriction will be set as
     * a base restriction which cannot be removed by any admin.
     *
     * <p>Holders of the permission
     * {@link android.Manifest.permission#MANAGE_DEVICE_POLICY_MODIFY_USERS}