百度手机卫士 v8.1.5版本的 MD5 值为:15af71eae74e2f2b5b9f845fe77a4804
以下内容为反编译后的 fgv.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 fgv extends AsyncTask {
final fgo a;
private fgv(fgo fgoVar) {
this.a = fgoVar;
}
public fgv(fgo fgoVar, fgp fgpVar) {
this(fgoVar);
}
@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 list;
Map map2;
Map map3;
boolean b;
Map map4;
Activity activity4;
boolean z;
String str;
String str2;
activity = this.a.aa;
List a = fjn.a(activity);
activity2 = this.a.aa;
int b2 = fjn.b(activity2);
fgo fgoVar = this.a;
activity3 = this.a.aa;
fgoVar.aC = fnl.g(activity3);
if (a != null && !a.isEmpty()) {
this.a.aw = false;
this.a.av = (String) a.get(0);
fgo fgoVar2 = this.a;
str2 = this.a.av;
list = fgoVar2.a(str2);
} else if (b2 == 1) {
this.a.aw = false;
this.a.av = "com.baidu.searchbox";
activity4 = this.a.aa;
fjn.d(activity4);
list = null;
} else {
this.a.aw = true;
if (b2 == 0) {
this.a.av = "com.baidu.searchbox";
this.a.ax = "http://dl.ops.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;
fgo fgoVar3 = this.a;
map4 = this.a.aC;
fgoVar3.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 = "http://dl.ops.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 r6) {
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;
hnj.a(activity4).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;
hnc.a(activity, broadcastReceiver, new IntentFilter("com.dianxinos.optimizer.action.SAFEURL_NOTIFY_DATA"));
activity2 = this.a.aa;
fjn.e(activity2);
activity3 = this.a.aa;
fjn.d(activity3);
}
super.onPostExecute(r6);
}
}