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

Commit 57de023a authored by Louis Chang's avatar Louis Chang
Browse files

Make USER_CURRENT accessible by the Test

Bug: 279699110
Test: atest ActivityVisibilityTests
Change-Id: I41a22e691a7430dc9725891dc86e167a93248c3b
parent 1ce89ea1
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -2360,6 +2360,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
  }
+1 −0
Original line number Diff line number Diff line
@@ -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 */