Shinigami ID v1.1.3版本的 MD5 值为:c381e85feac697f048c400ae89b7b92d
以下内容为反编译后的 i.java 源代码,内容仅作参考
package h3;
import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;
import android.net.Uri;
import android.os.Bundle;
import android.os.Parcelable;
import android.text.TextUtils;
import c4.p0;
import c4.xb;
import com.google.android.gms.measurement.internal.AppMeasurementDynamiteService;
import i4.b5;
import i4.c5;
import i4.l5;
import i4.r2;
import i4.s;
import i4.s2;
import i4.t5;
import i4.u6;
import i4.v2;
import i4.w6;
import java.util.Objects;
import java.util.concurrent.atomic.AtomicReference;
public final class i implements Runnable {
public final int f6355o;
public final boolean f6356p;
public final Object f6357q;
public final Object f6358r;
public final Object f6359s;
public final Object f6360t;
public i(AppMeasurementDynamiteService appMeasurementDynamiteService, p0 p0Var, String str, String str2, boolean z10) {
this.f6355o = 5;
this.f6360t = appMeasurementDynamiteService;
this.f6357q = p0Var;
this.f6358r = str;
this.f6359s = str2;
this.f6356p = z10;
}
public i(b bVar, Intent intent, Context context, boolean z10, BroadcastReceiver.PendingResult pendingResult) {
this.f6355o = 0;
this.f6357q = bVar;
this.f6358r = intent;
this.f6359s = context;
this.f6356p = z10;
this.f6360t = pendingResult;
}
public i(b5 b5Var, boolean z10, Uri uri, String str, String str2) {
this.f6355o = 2;
this.f6360t = b5Var;
this.f6356p = z10;
this.f6357q = uri;
this.f6358r = str;
this.f6359s = str2;
}
public i(c5 c5Var, AtomicReference atomicReference, String str, String str2, boolean z10) {
this.f6355o = 1;
this.f6360t = c5Var;
this.f6357q = atomicReference;
this.f6358r = str;
this.f6359s = str2;
this.f6356p = z10;
}
public i(t5 t5Var, w6 w6Var, boolean z10, m3.a aVar, Object obj, int i10) {
this.f6355o = i10;
this.f6360t = t5Var;
this.f6357q = w6Var;
this.f6356p = z10;
this.f6358r = aVar;
this.f6359s = obj;
}
@Override
public final void run() {
Bundle bundle;
switch (this.f6355o) {
case 0:
Intent intent = null;
b bVar = (b) this.f6357q;
Intent intent2 = (Intent) this.f6358r;
Context context = (Context) this.f6359s;
boolean z10 = this.f6356p;
BroadcastReceiver.PendingResult pendingResult = (BroadcastReceiver.PendingResult) this.f6360t;
Objects.requireNonNull(bVar);
try {
Parcelable parcelableExtra = intent2.getParcelableExtra("wrapped_intent");
if (parcelableExtra instanceof Intent) {
intent = (Intent) parcelableExtra;
}
int d10 = intent != null ? bVar.d(context, intent) : bVar.c(context, intent2);
if (z10) {
pendingResult.setResultCode(d10);
}
return;
} finally {
pendingResult.finish();
}
case 1:
t5 z11 = ((c5) this.f6360t).f6903o.z();
AtomicReference atomicReference = (AtomicReference) this.f6357q;
String str = (String) this.f6358r;
String str2 = (String) this.f6359s;
boolean z12 = this.f6356p;
z11.i();
z11.j();
z11.v(new l5(z11, atomicReference, str, str2, z11.s(false), z12));
return;
case 2:
b5 b5Var = (b5) this.f6360t;
boolean z13 = this.f6356p;
Uri uri = (Uri) this.f6357q;
String str3 = (String) this.f6358r;
String str4 = (String) this.f6359s;
b5Var.f6818o.i();
try {
u6 B = b5Var.f6818o.f6903o.B();
xb.b();
i4.f fVar = b5Var.f6818o.f6903o.f6924u;
r2 r2Var = s2.f7208p0;
boolean v = fVar.v(null, r2Var);
if (!TextUtils.isEmpty(str4)) {
if (!str4.contains("gclid") && !str4.contains("utm_campaign") && !str4.contains("utm_source") && !str4.contains("utm_medium") && !str4.contains("utm_id") && !str4.contains("dclid") && !str4.contains("srsltid")) {
if (v && str4.contains("sfmc_id")) {
v = true;
}
B.f6903o.a().A.b("Activity created with data 'referrer' without required params");
}
bundle = B.s0(Uri.parse("https://google.com/search?".concat(str4)), v);
if (bundle != null) {
bundle.putString("_cis", "referrer");
}
if (z13) {
u6 B2 = b5Var.f6818o.f6903o.B();
xb.b();
Bundle s02 = B2.s0(uri, b5Var.f6818o.f6903o.f6924u.v(null, r2Var));
if (s02 != null) {
s02.putString("_cis", "intent");
if (!s02.containsKey("gclid") && bundle != null && bundle.containsKey("gclid")) {
s02.putString("_cer", String.format("gclid=%s", bundle.getString("gclid")));
}
b5Var.f6818o.q(str3, "_cmp", s02);
b5Var.f6818o.B.a(str3, s02);
}
}
if (TextUtils.isEmpty(str4)) {
b5Var.f6818o.f6903o.a().A.c("Activity created with referrer", str4);
if (b5Var.f6818o.f6903o.f6924u.v(null, s2.Z)) {
if (bundle != null) {
b5Var.f6818o.q(str3, "_cmp", bundle);
b5Var.f6818o.B.a(str3, bundle);
} else {
b5Var.f6818o.f6903o.a().A.c("Referrer does not contain valid parameters", str4);
}
b5Var.f6818o.D(null);
return;
}
if (!str4.contains("gclid") || (!str4.contains("utm_campaign") && !str4.contains("utm_source") && !str4.contains("utm_medium") && !str4.contains("utm_term") && !str4.contains("utm_content"))) {
b5Var.f6818o.f6903o.a().A.b("Activity created with data 'referrer' without required params");
return;
} else {
if (TextUtils.isEmpty(str4)) {
return;
}
b5Var.f6818o.D(str4);
return;
}
}
return;
}
bundle = null;
if (z13) {
}
if (TextUtils.isEmpty(str4)) {
}
} catch (RuntimeException e10) {
b5Var.f6818o.f6903o.a().f6874t.c("Throwable caught in handleReferrerForOnActivityCreated", e10);
return;
}
break;
case 3:
t5 t5Var = (t5) this.f6360t;
v2 v2Var = t5Var.f7247r;
if (v2Var == null) {
t5Var.f6903o.a().f6874t.b("Discarding data. Failed to send event to service");
return;
}
l3.p.h((w6) this.f6357q);
((t5) this.f6360t).m(v2Var, this.f6356p ? null : (s) this.f6358r, (w6) this.f6357q);
((t5) this.f6360t).u();
return;
case 4:
t5 t5Var2 = (t5) this.f6360t;
v2 v2Var2 = t5Var2.f7247r;
if (v2Var2 == null) {
t5Var2.f6903o.a().f6874t.b("Discarding data. Failed to send conditional user property to service");
return;
}
l3.p.h((w6) this.f6357q);
((t5) this.f6360t).m(v2Var2, this.f6356p ? null : (i4.c) this.f6358r, (w6) this.f6357q);
((t5) this.f6360t).u();
return;
default:
t5 z14 = ((AppMeasurementDynamiteService) this.f6360t).f3761a.z();
p0 p0Var = (p0) this.f6357q;
String str5 = (String) this.f6358r;
String str6 = (String) this.f6359s;
boolean z15 = this.f6356p;
z14.i();
z14.j();
z14.v(new l5(z14, str5, str6, z14.s(false), z15, p0Var));
return;
}
}
}