百度手机卫士 v8.1.5版本的 MD5 值为:15af71eae74e2f2b5b9f845fe77a4804
以下内容为反编译后的 ahm.java 源代码,内容仅作参考
package dxoptimizer;
import android.content.Context;
import android.content.Intent;
import java.util.concurrent.LinkedBlockingQueue;
import java.util.concurrent.RejectedExecutionHandler;
import java.util.concurrent.ThreadPoolExecutor;
import java.util.concurrent.TimeUnit;
public abstract class ahm {
protected static String a = "fbapi.dxsvr.com";
protected static int b = 80;
protected static String c = "feedback";
protected static ahy d;
protected static ThreadPoolExecutor e;
protected static RejectedExecutionHandler f;
protected Context g;
public ahm(Context context) {
this.g = context;
d = new ahy(this.g);
e = new ThreadPoolExecutor(1, 2, 60L, TimeUnit.SECONDS, new LinkedBlockingQueue(10));
f = new ahn(this);
e.setRejectedExecutionHandler(f);
}
public boolean a(String str) {
if (!"dev".equals(str) && !"test".equals(str) && !"prod".equals(str)) {
return false;
}
ajf.a(str);
b(str);
ajf.b("DXFBManagerBase", " setMode ok " + str);
this.g.sendBroadcast(new Intent("com.dianxinos.feedback.FIRST_"));
return true;
}
private void b(String str) {
if ("prod".equals(str)) {
a = "fbapi.dxsvr.com";
b = 80;
c = "feedback";
}
if ("test".equals(str)) {
a = "sandbox.sjws.baidu.com";
b = 8080;
c = "feedback_front";
}
if ("dev".equals(str)) {
a = "10.18.102.101";
b = 4333;
c = "feedback_front";
}
}
}