package ch;

import android.database.sqlite.SQLiteDatabase;
import java.io.File;
import wg.i0;
import wg.t;

/* loaded from: classes4.dex */
public abstract class g {
    public static boolean a(String str) {
        try {
            File c10 = i0.f().e().c();
            if (c10 != null && !j.a(str)) {
                return SQLiteDatabase.deleteDatabase(new File(c10, str));
            }
            return false;
        } catch (Exception unused) {
            t.a("MobileCore", "SQLiteUtils", "Failed to delete (%s) in cache folder.", str);
            return false;
        }
    }
}
