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

Commit 9d43dc5e authored by Kenny Guy's avatar Kenny Guy Committed by Android (Google) Code Review
Browse files

Merge "Finish rename of related users to profiles."

parents 900224af abf564ac
Loading
Loading
Loading
Loading
+0 −18
Original line number Diff line number Diff line
@@ -415,15 +415,6 @@ public class UserManager {
        }
    }

    /**
     * Renamed, just present to avoid multi project commit.
     * TODO delete.
     * @hide
     */
    public UserInfo createRelatedUser(String name, int flags, int relatedUserId) {
        return createProfileForUser(name, flags, relatedUserId);
    }

    /**
     * Creates a user with the specified name and options as a profile of another user.
     * Requires {@link android.Manifest.permission#MANAGE_USERS} permission.
@@ -468,15 +459,6 @@ public class UserManager {
        }
    }

    /**
     * Renaming, left to avoid multi project commit.
     * TODO Delete.
     * @hide
     */
    public List<UserInfo> getRelatedUsers(int userHandle) {
        return getProfiles(userHandle);
    }

    /**
     * Returns list of the profiles of userHandle including
     * userHandle itself.