- 28,932 files - Full Java source code - Smali files - Resources Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
39 lines
977 B
Java
39 lines
977 B
Java
package com.mbridge.msdk.foundation.db;
|
|
|
|
import android.database.sqlite.SQLiteDatabase;
|
|
import com.mbridge.msdk.MBridgeConstans;
|
|
import com.mbridge.msdk.foundation.tools.af;
|
|
|
|
/* loaded from: classes4.dex */
|
|
public class a<T> {
|
|
protected f mHelper;
|
|
|
|
public a(f fVar) {
|
|
this.mHelper = fVar;
|
|
}
|
|
|
|
public synchronized SQLiteDatabase getReadableDatabase() {
|
|
try {
|
|
} catch (Exception unused) {
|
|
if (!MBridgeConstans.DEBUG) {
|
|
return null;
|
|
}
|
|
af.a("BaseDao", "getReadableDatabase error");
|
|
return null;
|
|
}
|
|
return this.mHelper.c();
|
|
}
|
|
|
|
public synchronized SQLiteDatabase getWritableDatabase() {
|
|
try {
|
|
} catch (Exception unused) {
|
|
if (!MBridgeConstans.DEBUG) {
|
|
return null;
|
|
}
|
|
af.a("BaseDao", "getWritableDatabase error");
|
|
return null;
|
|
}
|
|
return this.mHelper.d();
|
|
}
|
|
}
|