个人所得税申报 v1.30811.0版本的 MD5 值为:df1156760a8aea3b3af2002d05ed8068
以下内容为反编译后的 b.java 源代码,内容仅作参考
package g.p.a.e.d.b;
import android.content.Context;
import com.tencent.bugly.proguard.ao;
import com.tencent.bugly.proguard.ap;
import g.p.a.c;
import g.p.a.f.b0;
import g.p.a.f.q;
import g.p.a.f.r;
import g.p.a.f.t;
import g.p.a.f.y;
import g.p.a.f.z;
import java.util.List;
import java.util.Map;
public final class b {
public static int f6604f = 1000;
public static b f6605g;
public static String f6606h;
public final List<c> a;
public final y b;
public final g.p.a.e.d.b.a f6607c;
public g.p.a.e.d.b.a f6608d = null;
public Context f6609e;
public class a extends Thread {
public a() {
}
@Override
public final void run() {
try {
Map<String, byte[]> a = r.a().a(b.f6604f, (q) null, true);
if (a != null) {
byte[] bArr = a.get("device");
byte[] bArr2 = a.get("gateway");
if (bArr != null) {
g.p.a.e.d.a.c.a(b.this.f6609e).c(new String(bArr));
}
if (bArr2 != null) {
g.p.a.e.d.a.c.a(b.this.f6609e).b(new String(bArr2));
}
}
b.this.f6608d = b.d();
if (b.this.f6608d != null) {
if (b0.a(b.f6606h) || !b0.b(b.f6606h)) {
b.this.f6608d.f6601n = g.p.a.e.d.b.a.u;
b.this.f6608d.f6602o = g.p.a.e.d.b.a.v;
} else {
b.this.f6608d.f6601n = b.f6606h;
b.this.f6608d.f6602o = b.f6606h;
}
}
} catch (Throwable th) {
if (!z.a(th)) {
th.printStackTrace();
}
}
b bVar = b.this;
bVar.a(bVar.f6608d, false);
}
}
public b(Context context, List<c> list) {
String str;
this.f6609e = context;
if (g.p.a.e.d.a.c.a(context) != null) {
String str2 = g.p.a.e.d.a.c.a(context).S;
if (!"oversea".equals(str2)) {
str = "na_https".equals(str2) ? "https://astat.bugly.cros.wr.pvp.net/:8180/rqd/async" : "https://astat.bugly.qcloud.com/rqd/async";
}
g.p.a.e.d.b.a.u = str;
g.p.a.e.d.b.a.v = str;
}
this.f6607c = new g.p.a.e.d.b.a();
this.a = list;
this.b = y.b();
}
public static synchronized b c() {
b bVar;
synchronized (b.class) {
bVar = f6605g;
}
return bVar;
}
public static g.p.a.e.d.b.a d() {
byte[] bArr;
List<t> a2 = r.a().a(2);
if (a2 == null || a2.size() <= 0 || (bArr = a2.get(0).f6726g) == null) {
return null;
}
return (g.p.a.e.d.b.a) b0.a(bArr, g.p.a.e.d.b.a.CREATOR);
}
public final g.p.a.e.d.b.a b() {
g.p.a.e.d.b.a aVar = this.f6608d;
if (aVar != null) {
if (!b0.b(aVar.f6601n)) {
this.f6608d.f6601n = g.p.a.e.d.b.a.u;
}
if (!b0.b(this.f6608d.f6602o)) {
this.f6608d.f6602o = g.p.a.e.d.b.a.v;
}
return this.f6608d;
}
if (!b0.a(f6606h) && b0.b(f6606h)) {
g.p.a.e.d.b.a aVar2 = this.f6607c;
String str = f6606h;
aVar2.f6601n = str;
aVar2.f6602o = str;
}
return this.f6607c;
}
public static synchronized b a(Context context, List<c> list) {
b bVar;
synchronized (b.class) {
if (f6605g == null) {
f6605g = new b(context, list);
}
bVar = f6605g;
}
return bVar;
}
public final void a(long j2) {
this.b.a(new a(), j2);
}
public final synchronized boolean a() {
return this.f6608d != null;
}
public final void a(g.p.a.e.d.b.a aVar, boolean z) {
z.c("[Strategy] Notify %s", g.p.a.e.c.c.class.getName());
g.p.a.e.c.c.a(aVar, z);
for (c cVar : this.a) {
try {
z.c("[Strategy] Notify %s", cVar.getClass().getName());
cVar.a(aVar);
} catch (Throwable th) {
if (!z.a(th)) {
th.printStackTrace();
}
}
}
}
public final void a(ap apVar) {
if (apVar == null) {
return;
}
g.p.a.e.d.b.a aVar = this.f6608d;
if (aVar == null || apVar.f5252h != aVar.f6599l) {
g.p.a.e.d.b.a aVar2 = new g.p.a.e.d.b.a();
aVar2.f6590c = apVar.a;
aVar2.f6592e = apVar.f5247c;
aVar2.f6591d = apVar.b;
if (b0.a(f6606h) || !b0.b(f6606h)) {
if (b0.b(apVar.f5248d)) {
z.c("[Strategy] Upload url changes to %s", apVar.f5248d);
aVar2.f6601n = apVar.f5248d;
}
if (b0.b(apVar.f5249e)) {
z.c("[Strategy] Exception upload url changes to %s", apVar.f5249e);
aVar2.f6602o = apVar.f5249e;
}
}
ao aoVar = apVar.f5250f;
if (aoVar != null && !b0.a(aoVar.a)) {
aVar2.f6603p = apVar.f5250f.a;
}
long j2 = apVar.f5252h;
if (j2 != 0) {
aVar2.f6599l = j2;
}
Map<String, String> map = apVar.f5251g;
if (map != null && map.size() > 0) {
Map<String, String> map2 = apVar.f5251g;
aVar2.q = map2;
String str = map2.get("B11");
if (str != null && str.equals("1")) {
aVar2.f6593f = true;
} else {
aVar2.f6593f = false;
}
String str2 = apVar.f5251g.get("B3");
if (str2 != null) {
aVar2.t = Long.valueOf(str2).longValue();
}
int i2 = apVar.f5253i;
aVar2.f6600m = i2;
aVar2.s = i2;
String str3 = apVar.f5251g.get("B27");
if (str3 != null && str3.length() > 0) {
try {
int parseInt = Integer.parseInt(str3);
if (parseInt > 0) {
aVar2.r = parseInt;
}
} catch (Exception e2) {
if (!z.a(e2)) {
e2.printStackTrace();
}
}
}
String str4 = apVar.f5251g.get("B25");
if (str4 != null && str4.equals("1")) {
aVar2.f6595h = true;
} else {
aVar2.f6595h = false;
}
}
z.a("[Strategy] enableCrashReport:%b, enableQuery:%b, enableUserInfo:%b, enableAnr:%b, enableBlock:%b, enableSession:%b, enableSessionTimer:%b, sessionOverTime:%d, enableCocos:%b, strategyLastUpdateTime:%d", Boolean.valueOf(aVar2.f6590c), Boolean.valueOf(aVar2.f6592e), Boolean.valueOf(aVar2.f6591d), Boolean.valueOf(aVar2.f6593f), Boolean.valueOf(aVar2.f6594g), Boolean.valueOf(aVar2.f6597j), Boolean.valueOf(aVar2.f6598k), Long.valueOf(aVar2.f6600m), Boolean.valueOf(aVar2.f6595h), Long.valueOf(aVar2.f6599l));
this.f6608d = aVar2;
if (!b0.b(apVar.f5248d)) {
z.c("[Strategy] download url is null", new Object[0]);
this.f6608d.f6601n = "";
}
if (!b0.b(apVar.f5249e)) {
z.c("[Strategy] download crashurl is null", new Object[0]);
this.f6608d.f6602o = "";
}
r.a().b(2);
t tVar = new t();
tVar.b = 2;
tVar.a = aVar2.a;
tVar.f6724e = aVar2.b;
tVar.f6726g = b0.a(aVar2);
r.a().a(tVar);
a(aVar2, true);
}
}
}