Merge "Make USER_CURRENT accessible by the Test" into udc-dev

This commit is contained in:
Louis Chang
2023-05-06 00:58:51 +00:00
committed by Android (Google) Code Review
2 changed files with 2 additions and 0 deletions

View File

@@ -2367,6 +2367,7 @@ package android.os {
method public static boolean isApp(int);
field public static final int MIN_SECONDARY_USER_ID = 10; // 0xa
field public static final int USER_ALL = -1; // 0xffffffff
field public static final int USER_CURRENT = -2; // 0xfffffffe
field public static final int USER_NULL = -10000; // 0xffffd8f0
field public static final int USER_SYSTEM = 0; // 0x0
}

View File

@@ -56,6 +56,7 @@ public final class UserHandle implements Parcelable {
/** @hide A user id to indicate the currently active user */
@UnsupportedAppUsage
@TestApi
public static final @UserIdInt int USER_CURRENT = -2;
/** @hide A user handle to indicate the current user of the device */