Merge "Expose UserHandle.getIdentifier() to CTS." into oc-dev

am: a2ea59c9bb

Change-Id: Ic9eebe67290f7dcd7ff59bb40c81d39bf2a8d82d
This commit is contained in:
Makoto Onuki
2017-04-11 18:11:20 +00:00
committed by android-build-merger
2 changed files with 2 additions and 0 deletions

View File

@@ -31846,6 +31846,7 @@ package android.os {
ctor public UserHandle(android.os.Parcel); ctor public UserHandle(android.os.Parcel);
method public int describeContents(); method public int describeContents();
method public static int getAppId(int); method public static int getAppId(int);
method public int getIdentifier();
method public static android.os.UserHandle getUserHandleForUid(int); method public static android.os.UserHandle getUserHandleForUid(int);
method public static android.os.UserHandle readFromParcel(android.os.Parcel); method public static android.os.UserHandle readFromParcel(android.os.Parcel);
method public void writeToParcel(android.os.Parcel, int); method public void writeToParcel(android.os.Parcel, int);

View File

@@ -344,6 +344,7 @@ public final class UserHandle implements Parcelable {
* @hide * @hide
*/ */
@SystemApi @SystemApi
@TestApi
public @UserIdInt int getIdentifier() { public @UserIdInt int getIdentifier() {
return mHandle; return mHandle;
} }