手机管家 v7.2.0版本的 MD5 值为:dd92ba71696e35a4b841cd1b5de53cd3
以下内容为反编译后的 cbg.java 源代码,内容仅作参考
package tcs;
import android.text.TextUtils;
import com.tencent.kingkong.database.SQLiteDatabase;
import meri.pluginsdk.o;
import tcs.asl;
import tcs.ve;
public class cbg implements meri.pluginsdk.o {
@Override
public void a(o.b bVar) {
e(bVar);
}
private void e(o.b bVar) {
bVar.execSQL("CREATE TABLE IF NOT EXISTS cache_temp (_id INTEGER PRIMARY KEY,pkgname TEXT,cachesize LONG,cachetimes INTEGER)");
l(bVar);
n(bVar);
j(bVar);
o(bVar);
m(bVar);
}
private void j(o.b bVar) {
bVar.execSQL("CREATE TABLE IF NOT EXISTS main_ad_card (main_ad_card_id INTEGER PRIMARY KEY,main_ad_card_type LONG,main_ad_card_adid TEXT,main_ad_card_imgurl TEXT,main_ad_card_jumptype INTEGER,main_ad_card_jumpurl TEXT,main_ad_card_jumpviewid INTEGER,main_ad_card_jumpappinfo TEXT,main_ad_card_jumpctpinfo TEXT,main_ad_card_isdefaultshow INTEGER,main_ad_card_lastshowtime LONG,main_ad_card_startshowtime LONG,main_ad_card_expiredtime LONG)");
}
private void k(o.b bVar) {
bVar.execSQL("DROP TABLE IF EXISTS cache_temp");
}
@Override
public void a(o.b bVar, int i, int i2) {
if (i < 3) {
l(bVar);
}
if (i > 2 && i < 5) {
bVar.execSQL("alter table operation_ad_v3 add browser_type INTEGER");
}
if (i < 6) {
n(bVar);
}
if (i >= 6) {
if (i == 6) {
bVar.execSQL("alter table msg_center add enhanced_guide INTEGER");
bVar.execSQL("alter table msg_center add msg_pic_url TEXT");
bVar.execSQL("alter table msg_center add isForceRead INTEGER");
}
if (i < 9) {
bVar.execSQL("alter table msg_center add msg_pic_url TEXT");
bVar.execSQL("alter table msg_center add isForceRead INTEGER");
}
if (i < 10) {
bVar.execSQL("alter table msg_center add msg_action TEXT");
}
if (i < 11) {
bVar.execSQL("alter table msg_center add msg_tips TEXT");
bVar.execSQL("alter table msg_center add extends1 TEXT");
bVar.execSQL("alter table msg_center add extends2 TEXT");
}
if (i < 12) {
bVar.execSQL("alter table main_ad_card add main_ad_card_startshowtime LONG");
}
if (i < 14) {
bVar.execSQL("alter table personal_msg add psg_yellow_tips INTEGER DEFAULT 0");
}
}
if (i < 13) {
o(bVar);
}
if (i < 13) {
m(bVar);
}
}
@Override
public void b(o.b bVar, int i, int i2) {
k(bVar);
e(bVar);
}
@Override
public String getGroupName() {
return "pimain";
}
@Override
public int acr() {
return 14;
}
@Override
public o.a acs() {
return o.a.QQSECURE;
}
private void l(o.b bVar) {
bVar.execSQL("CREATE TABLE IF NOT EXISTS operation_ad_v3 (_id INTEGER PRIMARY KEY,title TEXT,url TEXT,starttime LONG,endtime LONG,task_id LONG,task_seqno LONG,cmd_id INTEGER,conch_seqno INTEGER,tips_type INTEGER,tips_is_top INTEGER,browser_type INTEGER)");
}
private void m(o.b bVar) {
bVar.execSQL("CREATE TABLE IF NOT EXISTS main_common_tools (common_tools_id INTEGER PRIMARY KEY,common_tools_index INTEGER,common_tools_pkg_name TEXT,common_tools_url TEXT,common_tools_title TEXT,common_tools_wording TEXT,common_tools_jump_id TEXT,common_tools_type INTEGER,common_tools_state INTEGER,common_tools_state_wording TEXT)");
bVar.execSQL("DELETE FROM main_common_tools");
com.tencent.qqpimsecure.plugin.main.home.commontool.c cVar = new com.tencent.qqpimsecure.plugin.main.home.commontool.c(0, SQLiteDatabase.KeyEmpty, 0, 0, 141, SQLiteDatabase.KeyEmpty, SQLiteDatabase.KeyEmpty, "流量监控", SQLiteDatabase.KeyEmpty, SQLiteDatabase.KeyEmpty, null);
com.tencent.qqpimsecure.plugin.main.home.commontool.c cVar2 = new com.tencent.qqpimsecure.plugin.main.home.commontool.c(0, SQLiteDatabase.KeyEmpty, 0, 1, ayn.dTh, SQLiteDatabase.KeyEmpty, SQLiteDatabase.KeyEmpty, "记账助手", SQLiteDatabase.KeyEmpty, SQLiteDatabase.KeyEmpty, null);
com.tencent.qqpimsecure.plugin.main.home.commontool.c cVar3 = new com.tencent.qqpimsecure.plugin.main.home.commontool.c(0, SQLiteDatabase.KeyEmpty, 0, 2, 183, SQLiteDatabase.KeyEmpty, SQLiteDatabase.KeyEmpty, "免费WiFi", SQLiteDatabase.KeyEmpty, SQLiteDatabase.KeyEmpty, null);
com.tencent.qqpimsecure.plugin.main.home.commontool.c cVar4 = new com.tencent.qqpimsecure.plugin.main.home.commontool.c(0, SQLiteDatabase.KeyEmpty, 0, 3, ayn.fae, SQLiteDatabase.KeyEmpty, SQLiteDatabase.KeyEmpty, "微信清理", SQLiteDatabase.KeyEmpty, SQLiteDatabase.KeyEmpty, null);
com.tencent.qqpimsecure.plugin.main.home.commontool.c cVar5 = new com.tencent.qqpimsecure.plugin.main.home.commontool.c(0, SQLiteDatabase.KeyEmpty, 0, 4, ayn.faa, SQLiteDatabase.KeyEmpty, SQLiteDatabase.KeyEmpty, "QQ清理", SQLiteDatabase.KeyEmpty, SQLiteDatabase.KeyEmpty, null);
com.tencent.qqpimsecure.plugin.main.home.commontool.c cVar6 = new com.tencent.qqpimsecure.plugin.main.home.commontool.c(0, SQLiteDatabase.KeyEmpty, 2, 5, 161, SQLiteDatabase.KeyEmpty, SQLiteDatabase.KeyEmpty, "更多", SQLiteDatabase.KeyEmpty, SQLiteDatabase.KeyEmpty, null);
a(bVar, cVar);
a(bVar, cVar2);
a(bVar, cVar3);
a(bVar, cVar4);
a(bVar, cVar5);
a(bVar, cVar6);
}
private void a(o.b bVar, com.tencent.qqpimsecure.plugin.main.home.commontool.c cVar) {
bVar.execSQL("insert into main_common_tools(common_tools_id,common_tools_index,common_tools_pkg_name,common_tools_url,common_tools_title,common_tools_wording,common_tools_jump_id,common_tools_type,common_tools_state,common_tools_state_wording) values (" + cVar.id + "," + cVar.index + ",'" + cVar.aqS + "','" + cVar.alR + "','" + cVar.aZ + "','" + cVar.bK + "','" + cVar.hwF + "'," + cVar.type + "," + cVar.state + ",'" + cVar.hwE + "')");
}
private void n(o.b bVar) {
bVar.execSQL("CREATE TABLE IF NOT EXISTS msg_center (_id INTEGER PRIMARY KEY,msg_category INTEGER,msg_type INTEGER,unique_show INTEGER,msg_time LONG,msg_title TEXT,msg_content TEXT,jump_type INTEGER,jump_view_id INTEGER,jump_url TEXT,jump_param TEXT,read INTEGER,priority INTEGER,nt_bar INTEGER,guide INTEGER,enhanced_guide INTEGER,expire LONG,account_id LONG,task_id LONG,task_seqno LONG,conch_seqno LONG,msg_pic_url TEXT,isForceRead INTEGER,msg_action TEXT,msg_tips TEXT,extends1 TEXT,extends2 TEXT)");
}
private void o(o.b bVar) {
bVar.execSQL("CREATE TABLE IF NOT EXISTS personal_msg (_id INTEGER PRIMARY KEY,pmsg_category INTEGER,pmsg_style_type INTEGER,pmsg_image_uri TEXT,pmsg_title TEXT,pmsg_summary TEXT,psg_tips TEXT,pmsg_button_text TEXT,pmsg_action_type INTEGER,pmsg_action TEXT,pmsg_action_extra TEXT,pmsg_start LONG,pmsg_end LONG,msg_modify LONG,psg_more_action_type INTEGER,pmsg_more_action TEXT,pmsg_more_action_extra TEXT,psg_yellow_tips INTEGER DEFAULT 0,pmsg_state INTEGER DEFAULT 0)");
a(bVar, a(ve.p.eYT, 2, "http://mmgr.gtimg.com/gjsmall/personal_center/alice_new.png", "记账助手8.88元红包", "手机管家送福利", "安全还款赚收益,更有红包赠送", "立即领取", System.currentTimeMillis(), 0L, 1, String.valueOf(asl.a.asN), 0, null));
a(bVar, a(ve.p.eYO, 1, "https://mmgr.gtimg.com/gjsmall/personal_center/call_show_ico.png", "来电秀", "为你定制个性化来电界面", "免费来电秀等你领取", "立即查看", System.currentTimeMillis(), 0L, 1, String.valueOf(16842753), 0, null));
a(bVar, a(ve.p.eYP, 1, "https://mmgr.gtimg.com/gjsmall/personal_center/diamond_ico.png", "我的积分", "使用管家可兑换优质礼品", "管家积分宝典", "立即查看", System.currentTimeMillis(), 0L, 1, String.valueOf(23789569), 0, null));
}
private void a(o.b bVar, com.tencent.qqpimsecure.plugin.main.personcenter.j jVar) {
bVar.execSQL("insert into personal_msg(pmsg_category,pmsg_style_type,pmsg_image_uri,pmsg_title,pmsg_summary,psg_tips,pmsg_button_text,pmsg_action_type,pmsg_action,pmsg_action_extra,pmsg_start,pmsg_end,msg_modify,psg_more_action_type,pmsg_more_action,pmsg_more_action_extra,pmsg_state) values (" + jVar.eil + "," + jVar.hEt + ",'" + jVar.hEu + "','" + jVar.aZ + "','" + jVar.fvl + "','" + jVar.ckg + "','" + jVar.akh + "','" + jVar.hEv.cnR + "','" + jVar.hEv.hDX + "','" + (TextUtils.isEmpty(jVar.hEv.hDY) ? SQLiteDatabase.KeyEmpty : jVar.hEv.hDY) + "'," + jVar.startTime + "," + jVar.cHL + "," + System.currentTimeMillis() + "," + (jVar.hEw != null ? jVar.hEw.cnR : 0) + ",'" + ((jVar.hEw == null || TextUtils.isEmpty(jVar.hEw.hDX)) ? SQLiteDatabase.KeyEmpty : jVar.hEw.hDX) + "','" + ((jVar.hEw == null || TextUtils.isEmpty(jVar.hEw.hDY)) ? SQLiteDatabase.KeyEmpty : jVar.hEw.hDY) + "'," + String.valueOf(0) + ")");
}
private com.tencent.qqpimsecure.plugin.main.personcenter.j a(int i, int i2, String str, String str2, String str3, String str4, String str5, long j, long j2, int i3, String str6, int i4, String str7) {
com.tencent.qqpimsecure.plugin.main.personcenter.j jVar = new com.tencent.qqpimsecure.plugin.main.personcenter.j((short) i2);
jVar.hEt = i2;
jVar.eil = i;
jVar.hEu = str;
jVar.aZ = str2;
jVar.fvl = str3;
jVar.ckg = str4;
jVar.akh = str5;
jVar.startTime = j;
jVar.cHL = j2;
if (i3 > 0 && !TextUtils.isEmpty(str6)) {
if (i3 == 1) {
jVar.hEv = new com.tencent.qqpimsecure.plugin.main.personcenter.c(str6, null);
} else if (i3 == 2) {
jVar.hEv = new com.tencent.qqpimsecure.plugin.main.personcenter.d(str6, null);
}
}
if (i4 > 0 && !TextUtils.isEmpty(str7)) {
if (i4 == 1) {
jVar.hEw = new com.tencent.qqpimsecure.plugin.main.personcenter.c(str7, null);
} else if (i4 == 2) {
jVar.hEw = new com.tencent.qqpimsecure.plugin.main.personcenter.d(str7, null);
}
}
return jVar;
}
}