Files
Daniel Elliott c080f0d97f Add Discord community version (64-bit only)
- 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
2026-02-18 15:48:36 -08:00

73 lines
1.7 KiB
Java

package com.applovin.impl;
import android.text.TextUtils;
import android.util.Log;
import java.net.UnknownHostException;
/* loaded from: classes.dex */
public abstract class pc {
private static int a = 0;
private static boolean b = true;
public static void a(String str, String str2) {
}
public static void c(String str, String str2) {
}
public static void d(String str, String str2) {
if (a <= 2) {
Log.w(str, str2);
}
}
public static void b(String str, String str2, Throwable th) {
c(str, a(str2, th));
}
public static void c(String str, String str2, Throwable th) {
d(str, a(str2, th));
}
private static String a(String str, Throwable th) {
String a2 = a(th);
if (TextUtils.isEmpty(a2)) {
return str;
}
return str + "\n " + a2.replace("\n", "\n ") + '\n';
}
private static boolean b(Throwable th) {
while (th != null) {
if (th instanceof UnknownHostException) {
return true;
}
th = th.getCause();
}
return false;
}
public static void b(String str, String str2) {
if (a <= 3) {
Log.e(str, str2);
}
}
public static void a(String str, String str2, Throwable th) {
b(str, a(str2, th));
}
public static String a(Throwable th) {
if (th == null) {
return null;
}
if (b(th)) {
return "UnknownHostException (no network)";
}
if (!b) {
return th.getMessage();
}
return Log.getStackTraceString(th).trim().replace("\t", " ");
}
}