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

Commit b784027b authored by Kenny Guy's avatar Kenny Guy Committed by Android Git Automerger
Browse files

am 9d43dc5e: Merge "Finish rename of related users to profiles."

* commit '9d43dc5e':
  Finish rename of related users to profiles.
parents f61fb541 9d43dc5e
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.