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

Commit f6cea14f authored by Michael Wachenschwanz's avatar Michael Wachenschwanz
Browse files

Reduce MAX_SECONDARY_USER_ID by 1

Fixes: 295056316
Test: builds
Change-Id: I4deb2933dcf99e373cf659fe51d1ca161ab1babd
parent 4a12d7bd
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -125,7 +125,8 @@ public final class UserHandle implements Parcelable {
    public static final int MIN_SECONDARY_USER_ID = 10;

    /** @hide */
    public static final int MAX_SECONDARY_USER_ID = Integer.MAX_VALUE / UserHandle.PER_USER_RANGE;
    public static final int MAX_SECONDARY_USER_ID =
            Integer.MAX_VALUE / UserHandle.PER_USER_RANGE - 1;

    /**
     * (Arbitrary) user handle cache size.