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

Commit abf564ac authored by Kenny Guy's avatar Kenny Guy
Browse files

Finish rename of related users to profiles.

Clean up methods left to avoid multi project commit.

Change-Id: Ibf506af2a4bcbbd7c8044b3f62a68761451242c7
parent 892c574e
Loading
Loading
Loading
Loading
+1 −19
Original line number Diff line number Diff line
@@ -409,15 +409,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.
@@ -462,15 +453,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.