Shinigami ID v1.1.3版本的 MD5 值为:c381e85feac697f048c400ae89b7b92d
以下内容为反编译后的 y.java 源代码,内容仅作参考
package com.wonderpush.sdk;
import android.net.Uri;
import com.wonderpush.sdk.f0;
import com.wonderpush.sdk.w;
import td.y;
public final class y implements f0.b {
@Override
public final void a(final w wVar) {
if (n.c) {
sa.x xVar = wVar.f4853d;
if (xVar != null) {
xVar.a(new w.b(), new androidx.appcompat.widget.m("Client disabled"));
return;
}
return;
}
final int i10 = wVar.f4852b;
final String str = wVar.f4854e;
final String format = String.format("%s%s", "https://measurements-api.wonderpush.com/v1", str);
w.c cVar = wVar.c;
if (cVar == null) {
cVar = new w.c();
}
final w.c cVar2 = cVar;
cVar2.a("clientId", x.f4869k);
cVar2.a("devicePlatform", "Android");
cVar2.a("sdkVersion", "Android-4.3.4");
if (z.r() != null) {
cVar2.a("userId", z.r());
}
cVar2.a("deviceId", z.f());
final w.a b10 = w.b(i10, Uri.parse(format), cVar2);
x.C(new Runnable() {
@Override
public final void run() {
String str2 = format;
w.c cVar3 = cVar2;
w.a aVar = b10;
int i11 = i10;
String str3 = str;
com.wonderpush.sdk.w wVar2 = wVar;
y.a aVar2 = new y.a();
aVar2.h(str2);
aVar2.c("Content-Type", "application/x-www-form-urlencoded");
aVar2.e("POST", cVar3.b());
if (aVar != null) {
aVar2.c(aVar.f4855a, aVar.f4856b);
}
String str4 = com.wonderpush.sdk.n.f4797a;
StringBuilder w10 = aa.p.w("Requesting: ");
w10.append(com.wonderpush.sdk.n.a(i11, str3, cVar3));
com.wonderpush.sdk.x.v(str4, w10.toString());
((td.x) com.wonderpush.sdk.n.f4798b.a(aVar2.b())).a(new com.wonderpush.sdk.o(i11, str3, cVar3, wVar2));
}
}, 1L);
}
}