- 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
71 lines
2.2 KiB
Java
71 lines
2.2 KiB
Java
package com.fyber.inneractive.sdk.util;
|
|
|
|
import android.annotation.SuppressLint;
|
|
import android.content.Intent;
|
|
import android.os.Build;
|
|
import android.telephony.TelephonyManager;
|
|
|
|
/* loaded from: classes2.dex */
|
|
public final class m extends o {
|
|
public static String k() {
|
|
return Build.MANUFACTURER + " " + Build.MODEL;
|
|
}
|
|
|
|
@SuppressLint({"MissingPermission"})
|
|
public static int l() {
|
|
try {
|
|
if (o.b("android.permission.READ_PHONE_STATE")) {
|
|
return ((TelephonyManager) o.a.getSystemService("phone")).getDataNetworkType();
|
|
}
|
|
return 0;
|
|
} catch (Throwable unused) {
|
|
return 0;
|
|
}
|
|
}
|
|
|
|
public static boolean p() {
|
|
try {
|
|
return o.a.getPackageManager().queryIntentActivities(new Intent("android.intent.action.INSERT").setType("vnd.android.cursor.item/event"), 0).size() > 0;
|
|
} catch (Throwable unused) {
|
|
return false;
|
|
}
|
|
}
|
|
|
|
public static String j() {
|
|
try {
|
|
return ((TelephonyManager) o.a.getSystemService("phone")).getNetworkCountryIso();
|
|
} catch (Exception unused) {
|
|
return null;
|
|
}
|
|
}
|
|
|
|
public static String m() {
|
|
TelephonyManager telephonyManager;
|
|
try {
|
|
TelephonyManager telephonyManager2 = (TelephonyManager) o.a.getSystemService("phone");
|
|
String networkOperator = telephonyManager2.getNetworkOperator();
|
|
return (telephonyManager2.getPhoneType() == 2 && (telephonyManager = (TelephonyManager) o.a.getSystemService("phone")) != null && telephonyManager.getSimState() == 5) ? telephonyManager2.getSimOperator() : networkOperator;
|
|
} catch (Exception unused) {
|
|
return null;
|
|
}
|
|
}
|
|
|
|
public static String n() {
|
|
return o.a.getPackageName();
|
|
}
|
|
|
|
public static String o() {
|
|
try {
|
|
return o.a.getPackageManager().getPackageInfo(o.a.getPackageName(), 0).versionName;
|
|
} catch (Exception unused) {
|
|
return null;
|
|
}
|
|
}
|
|
|
|
public static boolean q() {
|
|
boolean z = (o.a.getResources().getConfiguration().screenLayout & 15) == 4;
|
|
IAlog.e("This device has a tablet resolution? %s", Boolean.valueOf(z));
|
|
return z;
|
|
}
|
|
}
|