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

Commit 3df235fa authored by Pietro Maggi's avatar Pietro Maggi Committed by Automerger Merge Worker
Browse files

Merge "docs: Explanation on "profile owner on the primary user"" into tm-dev...

Merge "docs: Explanation on "profile owner on the primary user"" into tm-dev am: de6b490d am: 2d0e68d3

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/20403491



Change-Id: If220f4e475f1bfb23848c72ce1101a5be03a1cd2
Signed-off-by: default avatarAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
parents 0d0f74b7 2d0e68d3
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