UserHandleCompat

Added in 1.6.0

public class UserHandleCompat


Helper for accessing features in android.os.UserHandle in a backwards compatible fashion.

Summary

Public methods

static @NonNull UserHandle

Returns the user handle for a given uid.

Public methods

getUserHandleForUid

Added in 1.6.0
public static @NonNull UserHandle getUserHandleForUid(int uid)

Returns the user handle for a given uid.