- Added realracing3-community.apk (71.57 MB) - Removed 32-bit support (armeabi-v7a) - Only includes arm64-v8a libraries - Decompiled source code included - Added README-community.md with analysis
27 lines
675 B
Java
27 lines
675 B
Java
package androidx.core.os;
|
|
|
|
import android.content.Context;
|
|
import android.os.UserManager;
|
|
import androidx.annotation.NonNull;
|
|
import androidx.annotation.RequiresApi;
|
|
|
|
/* loaded from: classes.dex */
|
|
public class UserManagerCompat {
|
|
private UserManagerCompat() {
|
|
}
|
|
|
|
public static boolean isUserUnlocked(@NonNull Context context) {
|
|
return Api24Impl.isUserUnlocked(context);
|
|
}
|
|
|
|
@RequiresApi(24)
|
|
public static class Api24Impl {
|
|
private Api24Impl() {
|
|
}
|
|
|
|
public static boolean isUserUnlocked(Context context) {
|
|
return ((UserManager) context.getSystemService(UserManager.class)).isUserUnlocked();
|
|
}
|
|
}
|
|
}
|