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

This commit is contained in:
Makoto Onuki
2017-04-11 17:51:44 +00:00
committed by Android (Google) Code Review
2 changed files with 2 additions and 0 deletions

View File

@@ -31848,6 +31848,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);

View File

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