Files
rr3-apk/decompiled/sources/com/google/android/gms/internal/ads/zzdo.java
Daniel Elliott f9d20bb3fc Add decompiled APK source code (JADX)
- 28,932 files
- Full Java source code
- Smali files
- Resources

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-02-18 14:52:23 -08:00

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";
}
}