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,66 @@
package com.mbridge.msdk.newreward.function.d;
import android.database.sqlite.SQLiteDatabase;
import android.database.sqlite.SQLiteOpenHelper;
import com.mbridge.msdk.newreward.function.common.DatabaseUtils;
import com.mbridge.msdk.newreward.function.common.MBridgeCommon;
/* loaded from: classes4.dex */
public class c {
private static volatile c a;
private final a b = new a();
private com.mbridge.msdk.newreward.function.d.a c;
private c() {
}
public static c a() {
if (a == null) {
synchronized (c.class) {
try {
if (a == null) {
a = new c();
}
} finally {
}
}
}
return a;
}
private SQLiteDatabase c() {
try {
return this.b.getWritableDatabase();
} catch (Exception unused) {
return null;
}
}
public final com.mbridge.msdk.newreward.function.d.a b() {
if (this.c == null) {
this.c = new com.mbridge.msdk.newreward.function.d.a(c());
}
return this.c;
}
public static final class a extends SQLiteOpenHelper {
public a() {
super(com.mbridge.msdk.foundation.controller.c.m().c(), MBridgeCommon.Database.DATABASE_NAME, (SQLiteDatabase.CursorFactory) null, 2);
}
@Override // android.database.sqlite.SQLiteOpenHelper
public final void onCreate(SQLiteDatabase sQLiteDatabase) {
if (DatabaseUtils.isDatabaseAvailable(sQLiteDatabase)) {
sQLiteDatabase.execSQL("create table if not exists campaign(_id integer primary key autoincrement,ad_type integer,app_id text,unit_id text,placement_id text,request_id text,local_id text,bid_token text,header_bidding integer,load_start_time integer,state integer,session_id text,system_id text,backup_id text,parent_session_id text,template integer,invalid_time integer,invalid_time_2 integer,invalid_time_backup integer,ecppv integer,show_count integer,token_rule integer,r_index text,s_show_index text,data text)");
}
}
@Override // android.database.sqlite.SQLiteOpenHelper
public final void onUpgrade(SQLiteDatabase sQLiteDatabase, int i, int i2) {
if (DatabaseUtils.isDatabaseAvailable(sQLiteDatabase)) {
sQLiteDatabase.execSQL("drop table if exists campaign");
sQLiteDatabase.execSQL("create table if not exists campaign(_id integer primary key autoincrement,ad_type integer,app_id text,unit_id text,placement_id text,request_id text,local_id text,bid_token text,header_bidding integer,load_start_time integer,state integer,session_id text,system_id text,backup_id text,parent_session_id text,template integer,invalid_time integer,invalid_time_2 integer,invalid_time_backup integer,ecppv integer,show_count integer,token_rule integer,r_index text,s_show_index text,data text)");
}
}
}
}