belongs to Maven artifact com.android.support:support-compat:28.0.0-alpha1
Helper for accessing features in
UserManager in a backwards compatible
Return whether the calling user is running in an "unlocked" state.
boolean isUserUnlocked (Context context)
Return whether the calling user is running in an "unlocked" state. A user is unlocked only after they've entered their credentials (such as a lock pattern or PIN), and credential-encrypted private app data storage is available.