- 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
42 lines
1.1 KiB
Java
42 lines
1.1 KiB
Java
package com.fyber.inneractive.sdk.player.cache;
|
|
|
|
import java.io.Closeable;
|
|
import java.io.File;
|
|
import java.io.IOException;
|
|
import java.nio.charset.Charset;
|
|
|
|
/* loaded from: classes2.dex */
|
|
public final class o {
|
|
public static final Charset a = Charset.forName("US-ASCII");
|
|
|
|
static {
|
|
Charset.forName("UTF-8");
|
|
}
|
|
|
|
public static void a(File file) throws IOException {
|
|
File[] listFiles = file.listFiles();
|
|
if (listFiles == null) {
|
|
throw new IOException("not a readable directory: " + file);
|
|
}
|
|
for (File file2 : listFiles) {
|
|
if (file2.isDirectory()) {
|
|
a(file2);
|
|
}
|
|
if (!file2.delete()) {
|
|
throw new IOException("failed to delete file: " + file2);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static void a(Closeable closeable) {
|
|
if (closeable != null) {
|
|
try {
|
|
closeable.close();
|
|
} catch (RuntimeException e) {
|
|
throw e;
|
|
} catch (Exception unused) {
|
|
}
|
|
}
|
|
}
|
|
}
|