what-the-bank/sources/o/AXG.java

43 lines
1.1 KiB
Java
Raw Permalink Normal View History

2024-07-27 18:17:47 +07:00
package o;
import android.content.Context;
import android.hardware.fingerprint.FingerprintManager;
@Deprecated
/* loaded from: classes.dex */
public class AXG {
private final Context b;
public static AXG a(Context context) {
return new AXG(context);
}
private AXG(Context context) {
this.b = context;
}
public boolean a() {
FingerprintManager qn_ = qn_(this.b);
return qn_ != null && HBt.b(qn_);
}
private static FingerprintManager qn_(Context context) {
return HBt.qo_(context);
}
/* JADX INFO: Access modifiers changed from: package-private */
/* loaded from: classes.dex */
public static class HBt {
static boolean b(Object obj) {
return ((FingerprintManager) obj).hasEnrolledFingerprints();
}
public static FingerprintManager qo_(Context context) {
if (context.getPackageManager().hasSystemFeature("android.hardware.fingerprint")) {
return (FingerprintManager) context.getSystemService(FingerprintManager.class);
}
return null;
}
}
}