百度手机卫士 v8.8.0版本的 MD5 值为:a85894a6923c8a39f0c3a3a686ad7443
以下内容为反编译后的 fqn.java 源代码,内容仅作参考
package dxoptimizer;
import android.app.Activity;
import android.content.BroadcastReceiver;
import android.content.IntentFilter;
import android.os.AsyncTask;
import android.text.TextUtils;
import android.widget.LinearLayout;
import android.widget.RelativeLayout;
import java.util.ArrayList;
import java.util.List;
import java.util.Map;
class fqn extends AsyncTask<Void, Void, Void> {
final fqg a;
private fqn(fqg fqgVar) {
this.a = fqgVar;
}
public fqn(fqg fqgVar, fqh fqhVar) {
this(fqgVar);
}
@Override
protected void onPreExecute() {
this.a.ad.setVisibility(0);
super.onPreExecute();
}
@Override
public Void doInBackground(Void... voidArr) {
Activity activity;
Activity activity2;
Activity activity3;
Map map;
List<hns> list;
Map map2;
Map map3;
boolean b;
Map map4;
Activity activity4;
boolean z;
String str;
String str2;
activity = this.a.aa;
List<String> a = ftf.a(activity);
activity2 = this.a.aa;
int b2 = ftf.b(activity2);
fqg fqgVar = this.a;
activity3 = this.a.aa;
fqgVar.aC = fxd.g(activity3);
if (a != null && !a.isEmpty()) {
this.a.aw = false;
this.a.av = a.get(0);
fqg fqgVar2 = this.a;
str2 = this.a.av;
list = fqgVar2.a(str2);
} else if (b2 == 1) {
this.a.aw = false;
this.a.av = "com.baidu.searchbox";
activity4 = this.a.aa;
ftf.d(activity4);
list = null;
} else {
this.a.aw = true;
if (b2 == 0) {
this.a.av = "com.baidu.searchbox";
this.a.ax = "https://downpack.baidu.com/baidusearch_AndroidPhone_1009349m.apk";
this.a.ay = true;
list = null;
} else {
map = this.a.aC;
if (map != null) {
map2 = this.a.aC;
if (!map2.isEmpty()) {
map3 = this.a.aC;
for (String str3 : map3.keySet()) {
b = this.a.b(str3);
if (b) {
this.a.av = str3;
fqg fqgVar3 = this.a;
map4 = this.a.aC;
fqgVar3.ax = (String) map4.get(str3);
this.a.ay = true;
list = null;
break;
}
}
}
}
list = null;
}
}
z = this.a.aw;
if (z) {
str = this.a.av;
if (TextUtils.isEmpty(str)) {
this.a.av = "com.baidu.searchbox";
this.a.ax = "https://downpack.baidu.com/baidusearch_AndroidPhone_1009349m.apk";
}
}
if (list != null) {
this.a.ag = new ArrayList<>(list);
this.a.Q();
this.a.T();
}
return null;
}
@Override
public void onPostExecute(Void r5) {
boolean z;
Activity activity;
BroadcastReceiver broadcastReceiver;
Activity activity2;
Activity activity3;
LinearLayout linearLayout;
RelativeLayout relativeLayout;
Activity activity4;
this.a.ad.setVisibility(8);
z = this.a.aw;
if (z) {
linearLayout = this.a.au;
linearLayout.setVisibility(8);
relativeLayout = this.a.at;
relativeLayout.setVisibility(0);
activity4 = this.a.aa;
icu.a(activity4);
icu.a("ps", "bsrs", (Number) 1);
this.a.ae.setVisibility(8);
this.a.af.setVisibility(8);
this.a.V();
} else {
this.a.ae.setVisibility(0);
this.a.af.setVisibility(8);
this.a.ai.a(this.a.ah);
if (this.a.ai.isEmpty()) {
this.a.ae.setVisibility(0);
this.a.af.setVisibility(8);
} else {
if (this.a.af.getAdapter() == null) {
this.a.af.setAdapter(this.a.ai);
this.a.af.setOnHeaderUpdateListener(this.a.ai);
}
this.a.ae.setVisibility(8);
this.a.af.setVisibility(0);
}
activity = this.a.aa;
broadcastReceiver = this.a.ao;
icn.a(activity, broadcastReceiver, new IntentFilter("com.dianxinos.optimizer.action.SAFEURL_NOTIFY_DATA"));
activity2 = this.a.aa;
ftf.e(activity2);
activity3 = this.a.aa;
ftf.d(activity3);
}
super.onPostExecute(r5);
}
}