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
This commit is contained in:
Pietro F. Maggi
2022-11-07 17:54:27 +01:00
committed by Pietro Maggi
parent edaf387f07
commit dd2f8d69a1

View File

@@ -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