360手机助手 v3.3.0版本的 MD5 值为:127c345ad16bbebee6e347381328afd0
以下内容为反编译后的 b.java 源代码,内容仅作参考
package com.qihoo.appstore.newroot;
import android.content.Context;
import android.text.TextUtils;
import com.qihoo.appstore.resource.app.App;
import java.util.concurrent.ExecutorService;
import java.util.concurrent.Executors;
public class b {
public static String f2566a = "http://msoftdl.360.cn/mobilesafe/shouji360/360safesis/ROOTHelper.apk?";
private final Context f2567b;
private ExecutorService c;
private f d;
private g e;
private i f;
public b(Context context) {
this.f2567b = context.getApplicationContext();
}
public void a(cn cnVar, int i) {
if (this.e != null) {
cs.a(new e(this, cnVar, i));
}
}
private void a(cp cpVar) {
if (this.f != null) {
cs.a(new d(this, cpVar));
}
}
private void f() {
a(cn.DOWNLOADING, 0);
String g = g();
App app = new App();
app.q(g);
app.m("com.qihoo.permmgr");
app.U("6477e0d4d2cde0c19973bbb670a4edc0");
app.o("360权限管理组件");
if (this.d == null) {
this.d = new f(this, null);
}
com.qihoo.appstore.f.g.a(this.d);
if (this.c == null || this.c.isShutdown()) {
this.c = Executors.newSingleThreadExecutor();
}
this.c.execute(new c(this, app));
}
private String g() {
if (TextUtils.isEmpty(f2566a)) {
f2566a = "http://msoftdl.360.cn/mobilesafe/shouji360/360safesis/ROOTHelper.apk?";
}
return f2566a;
}
public void a() {
this.e = null;
}
public void a(g gVar) {
this.e = gVar;
}
public void a(i iVar) {
this.f = iVar;
}
public void b() {
this.f = null;
}
public void c() {
a(cn.INIT, 0);
if (cs.a()) {
a(cn.SUPPORT_ROOT, 0);
} else if (cs.c(this.f2567b)) {
a(cn.INSTALLED, 0);
} else {
f();
}
}
public void d() {
a(cp.INIT);
if (cs.c(this.f2567b)) {
a(cp.INSTALLED);
return;
}
if (!cs.c()) {
a(cp.NEEDDOWNLOAD);
return;
}
com.qihoo.appstore.f.f j = com.qihoo.appstore.f.g.j("com.qihoo.permmgr");
if (j != null) {
a(cp.INSTALLING);
com.qihoo.appstore.f.g.e(j.a());
}
}
public void e() {
if (this.c != null) {
this.c.shutdown();
}
this.e = null;
this.f = null;
}
}