- 28,932 files - Full Java source code - Smali files - Resources Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
42 lines
1.3 KiB
Java
42 lines
1.3 KiB
Java
package com.mbridge.msdk.e;
|
|
|
|
import com.mbridge.msdk.MBridgeConstans;
|
|
import com.mbridge.msdk.foundation.tools.af;
|
|
import com.mbridge.msdk.out.MBConfiguration;
|
|
|
|
/* loaded from: classes4.dex */
|
|
public final class b {
|
|
private static volatile Boolean a;
|
|
private static volatile Boolean b;
|
|
|
|
public static boolean a() {
|
|
if (a == null) {
|
|
try {
|
|
Boolean valueOf = Boolean.valueOf(Integer.parseInt(String.valueOf(MBConfiguration.SDK_VERSION.charAt(10))) == 2);
|
|
a = valueOf;
|
|
return valueOf.booleanValue();
|
|
} catch (Exception e) {
|
|
if (MBridgeConstans.DEBUG) {
|
|
af.b("CommonUtils", "isChina", e);
|
|
}
|
|
}
|
|
}
|
|
return a != null && a.booleanValue();
|
|
}
|
|
|
|
public static boolean b() {
|
|
if (b == null) {
|
|
try {
|
|
Boolean valueOf = Boolean.valueOf(Integer.parseInt(String.valueOf(MBConfiguration.SDK_VERSION.charAt(10))) == 1);
|
|
b = valueOf;
|
|
return valueOf.booleanValue();
|
|
} catch (Exception e) {
|
|
if (MBridgeConstans.DEBUG) {
|
|
af.b("CommonUtils", "isOversea", e);
|
|
}
|
|
}
|
|
}
|
|
return b != null && b.booleanValue();
|
|
}
|
|
}
|