百度手机卫士 v8.8.0版本的 MD5 值为:a85894a6923c8a39f0c3a3a686ad7443
以下内容为反编译后的 py.java 源代码,内容仅作参考
package dxoptimizer;
import android.content.Context;
import com.taobao.dp.DeviceSecuritySDK;
import com.taobao.dp.http.IUrlRequestService;
import java.util.HashMap;
public class py {
final pu a;
private int b;
private String c;
private String d;
private String e;
private px f;
public py(pu puVar, int i, String str, String str2, String str3, px pxVar) {
Context context;
this.a = puVar;
this.b = i;
this.e = str3;
if (sy.a(str)) {
context = puVar.c;
this.c = pu.b(context);
} else {
this.c = str;
}
this.d = str2;
this.f = pxVar;
}
public void a() {
boolean z;
String str;
Context context;
Context context2;
Context context3;
String str2;
Context context4;
Context context5;
boolean z2;
Context context6;
z = this.a.f;
if (z) {
return;
}
this.a.f = true;
switch (this.b) {
case 1:
pk.a = "http://mobilegw.stable.alipay.net/mgw.htm";
break;
case 2:
pk.a = "https://mobilegw.alipay.com/mgw.htm";
break;
case 3:
pk.a = "http://mobilegw-1-64.test.alipay.net/mgw.htm";
break;
default:
pk.a = "https://mobilegw.alipay.com/mgw.htm";
break;
}
try {
try {
this.a.e = false;
int i = this.b;
int i2 = i != 3 ? i : 1;
context5 = this.a.c;
DeviceSecuritySDK.getInstance(context5).initAsync("", i2, (IUrlRequestService) null, new pz(this));
for (int i3 = 3000; !z2 && i3 > 0; i3 -= 10) {
Thread.sleep(10L);
}
context6 = this.a.c;
String securityToken = DeviceSecuritySDK.getInstance(context6).getSecurityToken();
if (!sy.a(securityToken)) {
this.a.d = securityToken;
}
} catch (Exception e) {
}
HashMap hashMap = new HashMap();
hashMap.put("enable", "1");
hashMap.put("tid", this.d);
hashMap.put("utdid", this.c);
str = this.a.d;
hashMap.put("umid", str);
hashMap.put("userId", this.e);
context = this.a.c;
qb.a(context, hashMap);
if (this.f != null) {
qa qaVar = new qa(this.a);
context2 = this.a.c;
qaVar.c = oz.b(context2);
context3 = this.a.c;
qaVar.b = oz.a(context3);
str2 = this.a.d;
qaVar.a = str2;
context4 = this.a.c;
qaVar.d = pt.a(context4);
this.f.a(qaVar);
}
this.a.f = false;
} catch (Throwable th) {
this.a.f = false;
throw th;
}
}
}