百度手机卫士 v8.8.0版本的 MD5 值为:a85894a6923c8a39f0c3a3a686ad7443
以下内容为反编译后的 BaiduAssistGuideActivity.java 源代码,内容仅作参考
package com.dianxinos.optimizer.module.toolbox;
import android.content.Context;
import android.content.Intent;
import android.content.pm.PackageManager;
import android.os.Bundle;
import android.os.Handler;
import android.os.Message;
import cn.opda.a.phonoalbumshoushou.R;
import dxoptimizer.acx;
import dxoptimizer.ajo;
import dxoptimizer.awe;
import dxoptimizer.aww;
import dxoptimizer.awx;
import dxoptimizer.har;
import dxoptimizer.has;
import dxoptimizer.hci;
import dxoptimizer.hti;
import dxoptimizer.hyh;
import dxoptimizer.hyi;
import dxoptimizer.hzh;
import dxoptimizer.iaj;
import dxoptimizer.ibk;
import dxoptimizer.ico;
import dxoptimizer.icu;
public class BaiduAssistGuideActivity extends awe implements acx, awx {
private static final String e = hyi.l;
private boolean f = false;
private boolean g = false;
private Handler h;
private has j;
private String k;
private String l;
private int m;
@Override
public void handleMessage(Message message) {
super.handleMessage(message);
switch (message.what) {
case 50:
this.j = (has) message.obj;
if (this.j != null) {
A();
return;
} else {
z();
return;
}
default:
return;
}
}
private void v() {
Intent launchIntentForPackage;
PackageManager a = ibk.a(this);
if (a != null && (launchIntentForPackage = a.getLaunchIntentForPackage(this.j.b)) != null && hzh.a(this, launchIntentForPackage)) {
b(launchIntentForPackage);
icu.a(this);
icu.a("am", "am_ss_launch", (Number) 1);
}
finish();
}
@Override
public void onCreate(Bundle bundle) {
Intent intent = getIntent();
if (intent != null) {
this.m = ico.a(intent, "extra.from", 0);
if (this.m == 24) {
this.f = true;
} else if (this.m == 30) {
this.f = false;
} else if (this.m == 31) {
this.f = false;
}
}
super.onCreate(bundle);
if (hyh.a(this, "filter_assist", false)) {
b(new Intent(this, (Class<?>) SafeToolBoxNewActivity.class));
finish();
} else {
w();
}
}
private void w() {
this.h = new aww(this);
b(true);
x();
}
private void x() {
hti.a().b(new har(this));
}
private void y() {
if (!this.g) {
if (!this.f) {
Intent intent = new Intent(this, (Class<?>) SafeToolBoxNewActivity.class);
intent.putExtra("extra.from", 29);
intent.putExtra("tb_tab_mode", "toolbox_recommend");
b(intent);
this.g = true;
}
finish();
}
}
@Override
public void onBackPressed() {
if (this.f) {
finish();
} else {
z();
}
}
private void z() {
y();
hci.c((Context) this, true);
finish();
}
@Override
public ajo b() {
ajo ajoVar = new ajo();
ajoVar.a = "bstore";
ajoVar.j = e;
ajoVar.b = "com.baidu.appsearch";
ajoVar.c = getString(R.string.jadx_deobf_0x000022bd);
ajoVar.g = "https://sjwssu.baidu.com/bd/yhds_download-appsearch";
ajoVar.h = "https://sjwssu.baidu.com/bd/appsearch_android/icon";
return ajoVar;
}
private void A() {
if (iaj.g(this, this.j.b) && iaj.h(this, this.j.b)) {
if (this.m == 31) {
v();
} else {
y();
}
finish();
return;
}
if (a((Context) this)) {
this.b = B();
this.k = this.j.d;
this.l = this.j.e;
t();
b(getString(R.string.jadx_deobf_0x00002080));
b(false);
C();
return;
}
y();
finish();
}
private ajo B() {
ajo ajoVar = new ajo();
ajoVar.a = "bstore";
ajoVar.j = e;
ajoVar.b = this.j.b;
ajoVar.c = this.j.a;
ajoVar.g = this.j.c;
ajoVar.e = this.j.g;
ajoVar.d = this.j.h;
ajoVar.f = this.j.f;
return ajoVar;
}
@Override
public int m() {
return R.drawable.jadx_deobf_0x0000027d;
}
@Override
public String n() {
return this.k;
}
@Override
public String o() {
return this.l;
}
@Override
public String q() {
return getString(R.string.jadx_deobf_0x00002080);
}
@Override
public String p() {
return getString(R.string.jadx_deobf_0x00002083);
}
@Override
public void r() {
iaj.m(this, this.j.b);
}
public static boolean a(Context context) {
return !hci.a(context);
}
@Override
public void l_() {
super.l_();
z();
}
private void C() {
if (this.m == 30) {
icu.a(this);
icu.a("toolbox", "toolbox_bd_gd", (Number) 1);
} else if (this.m == 31) {
icu.a(this);
icu.a("am", "am_ss_guide", (Number) 1);
}
}
@Override
public void s() {
icu.a(this);
icu.a("st_bda_pn", this.b.b, (Number) 1);
}
}