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

Commit cb8936ea authored by Makoto Onuki's avatar Makoto Onuki
Browse files

Expose UserHandle.getIdentifier() to CTS.

This allows CTS to pass user IDs returned by APIs as UserHandle to various
ADB commands.

Test: Exposing as TestApi only; m -j
Change-Id: Iedba6d83b717baacf9e7cf97f1d32f93c191a5ca
parent 4a306894
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -31859,6 +31859,7 @@ package android.os {
    ctor public UserHandle(android.os.Parcel);
    method public int describeContents();
    method public static int getAppId(int);
    method public int getIdentifier();
    method public static android.os.UserHandle getUserHandleForUid(int);
    method public static android.os.UserHandle readFromParcel(android.os.Parcel);
    method public void writeToParcel(android.os.Parcel, int);
+1 −0
Original line number Diff line number Diff line
@@ -344,6 +344,7 @@ public final class UserHandle implements Parcelable {
     * @hide
     */
    @SystemApi
    @TestApi
    public @UserIdInt int getIdentifier() {
        return mHandle;
    }