Sunbit v2.4.4版本的 MD5 值为:a5021e5e2a58eb1d6741b432fe7533c4
以下内容为反编译后的 h.java 源代码,内容仅作参考
package e.l.a.e;
import android.content.Context;
import android.text.TextUtils;
public class h implements Runnable {
private static volatile boolean b = false;
private Context f13014a;
public h(Context context) {
this.f13014a = null;
this.f13014a = context;
}
private void a() {
e.l.a.f.h.c();
if (e.l.a.f.f.a(this.f13014a) && !b) {
b = true;
try {
b();
} catch (Throwable unused) {
}
b = false;
}
}
private void b() {
e.l.a.f.h.c();
String c = c();
if (TextUtils.isEmpty(c)) {
e.l.a.f.h.b("postData is empty", new Object[0]);
} else if (a(c)) {
e.l.a.f.h.b("", "upload success");
} else {
e.l.a.f.h.b("", "upload fail");
}
}
private String c() {
String r2 = com.ta.utdid2.device.a.a().r();
if (TextUtils.isEmpty(r2)) {
return null;
}
String a2 = e.l.a.d.a.a(r2);
if (e.l.a.f.h.b()) {
e.l.a.f.h.c("", a2);
}
return e.l.a.d.b.a(a2);
}
@Override
public void run() {
try {
a();
} catch (Throwable th) {
e.l.a.f.h.a("", th, new Object[0]);
}
}
private boolean a(String str) {
a a2 = b.a("https://mpush-api.aliyun.com/v2.0/a/audid/req/", str, true);
if (a2 == null) {
return false;
}
return com.ta.utdid2.device.f.a(a2);
}
}