- 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
78 lines
2.2 KiB
Java
78 lines
2.2 KiB
Java
package com.google.android.gms.internal.ads;
|
|
|
|
import android.text.TextUtils;
|
|
import android.util.Log;
|
|
import androidx.annotation.Nullable;
|
|
import androidx.annotation.Size;
|
|
import java.net.UnknownHostException;
|
|
|
|
/* loaded from: classes3.dex */
|
|
public final class zzdo {
|
|
private static final Object zza = new Object();
|
|
|
|
public static void zzb(@Size(max = 23) String str, String str2) {
|
|
synchronized (zza) {
|
|
zza(str2, null);
|
|
}
|
|
}
|
|
|
|
public static void zzc(@Size(max = 23) String str, String str2) {
|
|
synchronized (zza) {
|
|
Log.e(str, zza(str2, null));
|
|
}
|
|
}
|
|
|
|
public static void zzd(@Size(max = 23) String str, String str2, @Nullable Throwable th) {
|
|
synchronized (zza) {
|
|
Log.e(str, zza(str2, th));
|
|
}
|
|
}
|
|
|
|
public static void zze(@Size(max = 23) String str, String str2) {
|
|
synchronized (zza) {
|
|
zza(str2, null);
|
|
}
|
|
}
|
|
|
|
public static void zzf(@Size(max = 23) String str, String str2) {
|
|
synchronized (zza) {
|
|
Log.w(str, zza(str2, null));
|
|
}
|
|
}
|
|
|
|
public static void zzg(@Size(max = 23) String str, String str2, @Nullable Throwable th) {
|
|
synchronized (zza) {
|
|
Log.w(str, zza(str2, th));
|
|
}
|
|
}
|
|
|
|
public static String zza(String str, @Nullable Throwable th) {
|
|
String replace;
|
|
if (th != null) {
|
|
synchronized (zza) {
|
|
Throwable th2 = th;
|
|
while (true) {
|
|
if (th2 == null) {
|
|
replace = Log.getStackTraceString(th).trim().replace("\t", " ");
|
|
break;
|
|
}
|
|
try {
|
|
if (th2 instanceof UnknownHostException) {
|
|
replace = "UnknownHostException (no network)";
|
|
} else {
|
|
th2 = th2.getCause();
|
|
}
|
|
} finally {
|
|
}
|
|
}
|
|
}
|
|
} else {
|
|
replace = null;
|
|
}
|
|
if (TextUtils.isEmpty(replace)) {
|
|
return str;
|
|
}
|
|
return str + "\n " + replace.replace("\n", "\n ") + "\n";
|
|
}
|
|
}
|