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
This commit is contained in:
Tony Mak
2016-11-01 18:12:10 +00:00
parent c4e678e7df
commit d3986be5e4

View File

@@ -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;