36 lines
1.0 KiB
Java
36 lines
1.0 KiB
Java
package o;
|
|
|
|
import android.content.Context;
|
|
import android.nfc.NfcManager;
|
|
import android.os.Build;
|
|
import java.util.Arrays;
|
|
import java.util.List;
|
|
|
|
@fZH
|
|
/* renamed from: o.edo, reason: case insensitive filesystem */
|
|
/* loaded from: classes.dex */
|
|
public final class C11358edo implements InterfaceC9505dkx {
|
|
private Boolean b;
|
|
private Context d;
|
|
|
|
@InterfaceC13391fZD
|
|
public C11358edo(Context context) {
|
|
this.d = context;
|
|
}
|
|
|
|
@Override // o.InterfaceC9505dkx
|
|
public final boolean a() {
|
|
if (this.b == null) {
|
|
Object systemService = this.d.getSystemService("nfc");
|
|
this.b = Boolean.valueOf((systemService != null ? ((NfcManager) systemService).getDefaultAdapter() : null) != null);
|
|
}
|
|
return this.b.booleanValue();
|
|
}
|
|
|
|
@Override // o.InterfaceC9505dkx
|
|
public final boolean d() {
|
|
List asList = Arrays.asList(Build.SUPPORTED_ABIS);
|
|
return asList.contains("armeabi") || asList.contains("armeabi-v7a") || asList.contains("arm64-v8a");
|
|
}
|
|
}
|