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

Commit dac257d2 authored by Remi NGUYEN VAN's avatar Remi NGUYEN VAN Committed by android-build-merger
Browse files

Merge "Add UserHandle.getAppId to SystemApi"

am: b334bbef

Change-Id: I6be04cb335e642921d67a68970078c2cae4af4e7
parents 215383a8 b334bbef
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -4305,6 +4305,7 @@ package android.os {
  }
  public final class UserHandle implements android.os.Parcelable {
    method public static int getAppId(int);
    method public int getIdentifier();
    method @Deprecated public boolean isOwner();
    method public boolean isSystem();
+1 −0
Original line number Diff line number Diff line
@@ -226,6 +226,7 @@ public final class UserHandle implements Parcelable {
     * @hide
     */
    @TestApi
    @SystemApi
    public static @AppIdInt int getAppId(int uid) {
        return uid % PER_USER_RANGE;
    }