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>
This commit is contained in:
2026-02-18 14:52:23 -08:00
parent cc210a65ea
commit f9d20bb3fc
26991 changed files with 2541449 additions and 0 deletions

View File

@@ -0,0 +1,84 @@
package com.google.android.gms.internal.ads;
import android.os.Build;
import android.text.TextUtils;
import androidx.annotation.NonNull;
import com.google.android.gms.common.util.IOUtils;
import java.io.File;
import java.io.FileOutputStream;
import java.io.IOException;
/* loaded from: classes3.dex */
public final class zzfoy {
public static File zza(@NonNull File file, boolean z) {
if (z && file.exists() && !file.isDirectory()) {
file.delete();
}
if (!file.exists()) {
file.mkdirs();
}
return file;
}
public static File zzb(String str, String str2, @NonNull File file) {
if (TextUtils.isEmpty(str) || TextUtils.isEmpty(str2)) {
return null;
}
return new File(zzc(str, file), str2);
}
public static File zzc(String str, @NonNull File file) {
if (TextUtils.isEmpty(str)) {
return null;
}
File file2 = new File(file, str);
zza(file2, false);
return file2;
}
public static boolean zzd(@NonNull File file) {
boolean z;
if (!file.exists()) {
return true;
}
File[] listFiles = file.listFiles();
if (listFiles != null) {
z = true;
for (int i = 0; i < listFiles.length; i++) {
File file2 = listFiles[i];
z = file2 != null && zzd(file2) && z;
}
} else {
z = true;
}
return file.delete() && z;
}
public static boolean zze(@NonNull File file, @NonNull byte[] bArr) {
FileOutputStream fileOutputStream = null;
try {
FileOutputStream fileOutputStream2 = new FileOutputStream(file);
try {
if (Build.VERSION.SDK_INT >= 34) {
file.setReadOnly();
}
fileOutputStream2.write(bArr);
fileOutputStream2.flush();
IOUtils.closeQuietly(fileOutputStream2);
return true;
} catch (IOException unused) {
fileOutputStream = fileOutputStream2;
IOUtils.closeQuietly(fileOutputStream);
return false;
} catch (Throwable th) {
th = th;
fileOutputStream = fileOutputStream2;
IOUtils.closeQuietly(fileOutputStream);
throw th;
}
} catch (IOException unused2) {
} catch (Throwable th2) {
th = th2;
}
}
}