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

Commit d3986be5 authored by Tony Mak's avatar Tony Mak
Browse files

Add javadoc for profileGroupId

According to the implementation of getProfileParent,
profileGroupId == parent user id.

And we have already assumed this is true in some part of code in DPMS.

Test: Javadocs change

Change-Id: Ie48fdf24fb0428d4ee3f09bed2ac26cb17e1ced9
parent c4e678e7
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -102,6 +102,11 @@ public class UserInfo implements Parcelable {
    public long creationTime;
    public long lastLoggedInTime;
    public String lastLoggedInFingerprint;
    /**
     * If this user is a parent user, it would be its own user id.
     * If this user is a child user, it would be its parent user id.
     * Otherwise, it would be {@link #NO_PROFILE_GROUP_ID}.
     */
    public int profileGroupId;
    public int restrictedProfileParentId;