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

Commit 08ddbca7 authored by Android Build Coastguard Worker's avatar Android Build Coastguard Worker
Browse files

Snap for 10987393 from f6b03684 to 24Q1-release

Change-Id: I43d428ec4c686012b8c0518080c0b962558464c6
parents cc9d9d14 f6b03684
Loading
Loading
Loading
Loading
+7 −1
Original line number Diff line number Diff line
@@ -30,7 +30,9 @@ public class UserIconInfo {
    public static final int TYPE_WORK = 1;
    public static final int TYPE_CLONED = 2;

    @IntDef({TYPE_MAIN, TYPE_WORK, TYPE_CLONED})
    public static final int TYPE_PRIVATE = 3;

    @IntDef({TYPE_MAIN, TYPE_WORK, TYPE_CLONED, TYPE_PRIVATE})
    public @interface UserType { }

    public final UserHandle user;
@@ -60,4 +62,8 @@ public class UserIconInfo {
    public boolean isCloned() {
        return type == TYPE_CLONED;
    }

    public boolean isPrivate() {
        return type == TYPE_PRIVATE;
    }
}