- 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
28 lines
854 B
Java
28 lines
854 B
Java
package androidx.biometric;
|
|
|
|
import android.content.Context;
|
|
import android.content.pm.PackageManager;
|
|
import androidx.annotation.NonNull;
|
|
import androidx.annotation.Nullable;
|
|
import androidx.annotation.RequiresApi;
|
|
|
|
/* loaded from: classes.dex */
|
|
class PackageUtils {
|
|
private PackageUtils() {
|
|
}
|
|
|
|
public static boolean hasSystemFeatureFingerprint(@Nullable Context context) {
|
|
return (context == null || context.getPackageManager() == null || !Api23Impl.hasSystemFeatureFingerprint(context.getPackageManager())) ? false : true;
|
|
}
|
|
|
|
@RequiresApi(23)
|
|
public static class Api23Impl {
|
|
private Api23Impl() {
|
|
}
|
|
|
|
public static boolean hasSystemFeatureFingerprint(@NonNull PackageManager packageManager) {
|
|
return packageManager.hasSystemFeature("android.hardware.fingerprint");
|
|
}
|
|
}
|
|
}
|