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

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/22983216

Change-Id: I3db07954b4b6a372821530dd7598dee2c27360fc
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
Louis Chang
2023-05-06 01:19:09 +00:00
committed by Automerger Merge Worker
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 */