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

Commit dd2f8d69 authored by Pietro F. Maggi's avatar Pietro F. Maggi Committed by Pietro Maggi
Browse files

docs: Explanation on "profile owner on the primary user"

staging:
https://android.devsite.corp.google.com/reference/android/os/UserManager?db=pmaggi#DISALLOW_USB_FILE_TRANSFER

Bug: 224648697
Test: documentation fix
Change-Id: Ie3efcc71542753fc5e2a3d023e31b361ae2b4a83
parent edaf387f
Loading
Loading
Loading
Loading
+5 −2
Original line number Diff line number Diff line
@@ -595,8 +595,11 @@ public class UserManager {
    /**
     * Specifies if a user is disallowed from transferring files over USB.
     *
     * <p>This restriction can only be set by a device owner, a profile owner on the primary
     * user or a profile owner of an organization-owned managed profile on the parent profile.
     * <p>This restriction can only be set by a <a href="https://developers.google.com/android/work/terminology#device_owner_do">
     * device owner</a> or a <a href="https://developers.google.com/android/work/terminology#profile_owner_po">
     * profile owner</a> on the primary user's profile or a profile owner of an organization-owned
     * <a href="https://developers.google.com/android/work/terminology#managed_profile">
     * managed profile</a> on the parent profile.
     * When it is set by a device owner, it applies globally. When it is set by a profile owner
     * on the primary user or by a profile owner of an organization-owned managed profile on
     * the parent profile, it disables the primary user from transferring files over USB. No other