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

Commit 8c125b93 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Automerger Merge Worker
Browse files

Merge "Document isManagedProfile usage should probably be isProfile" into tm-dev am: 8819133e

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

Change-Id: I5e8ef189fe7300341448b2d326f2f826636320af
parents df3bc161 8819133e
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -2574,6 +2574,9 @@ public class UserManager {
    /**
     * Checks if the context user is a managed profile.
     *
     * Note that this applies specifically to <em>managed</em> profiles. For profiles in general,
     * use {@link #isProfile()} instead.
     *
     * @return whether the context user is a managed profile.
     */
    @UserHandleAware(
@@ -2593,6 +2596,9 @@ public class UserManager {
     * {@link android.Manifest.permission#QUERY_USERS} permission, otherwise the caller
     * must be in the same profile group of specified user.
     *
     * Note that this applies specifically to <em>managed</em> profiles. For profiles in general,
     * use {@link #isProfile()} instead.
     *
     * @return whether the specified user is a managed profile.
     * @hide
     */