package p138.p145.p146.p147;

import java.io.File;
import java.io.IOException;
import java.nio.charset.Charset;

/* JADX INFO: renamed from: ދ.ؠ.֏.މ.ހ, reason: contains not printable characters */
/* JADX INFO: loaded from: classes.dex */
public final class C2829 {

    /* JADX INFO: renamed from: ֏, reason: contains not printable characters */
    public static final Charset f8738 = Charset.forName("US-ASCII");

    static {
        Charset.forName("UTF-8");
    }

    /* JADX INFO: renamed from: ֏, reason: contains not printable characters */
    public static void m4949(File file) throws IOException {
        File[] fileArrListFiles = file.listFiles();
        if (fileArrListFiles == null) {
            throw new IOException("not a readable directory: " + file);
        }
        for (File file2 : fileArrListFiles) {
            if (file2.isDirectory()) {
                m4949(file2);
            }
            if (!file2.delete()) {
                throw new IOException("failed to delete file: " + file2);
            }
        }
    }
}
