Joi Chat v2.0.4版本的 MD5 值为:a2be861183b8d7b3c0099889dd61911f
以下内容为反编译后的 q4.java 源代码,内容仅作参考
package t1;
import android.net.Uri;
import android.os.Bundle;
import android.text.TextUtils;
import com.google.android.gms.common.internal.safeparcel.AbstractSafeParcelable;
import com.google.android.gms.internal.measurement.w9;
import com.google.android.gms.internal.measurement.x9;
import com.google.android.gms.measurement.internal.AppMeasurementDynamiteService;
import com.google.android.gms.measurement.internal.zzac;
import com.google.android.gms.measurement.internal.zzau;
import com.google.android.gms.measurement.internal.zzq;
import java.util.concurrent.atomic.AtomicReference;
public final class q4 implements Runnable {
public final int c = 1;
public final boolean f5042e;
public final Object f5043f;
public final Object f5044m;
public final Object f5045n;
public final Object f5046o;
public q4(com.google.android.gms.internal.measurement.d1 d1Var, boolean z4, Uri uri, String str, String str2) {
this.f5046o = d1Var;
this.f5042e = z4;
this.f5045n = uri;
this.f5043f = str;
this.f5044m = str2;
}
@Override
public final void run() {
u4 u4Var;
Bundle w02;
int i5 = this.c;
boolean z4 = this.f5042e;
Object obj = this.f5044m;
Object obj2 = this.f5043f;
Object obj3 = this.f5045n;
Object obj4 = this.f5046o;
AbstractSafeParcelable abstractSafeParcelable = null;
switch (i5) {
case 0:
j5 t5 = ((y3) ((u4) obj4).f2932e).t();
boolean z5 = this.f5042e;
t5.r();
t5.s();
t5.D(new b5(t5, (AtomicReference) obj3, (String) obj2, (String) obj, t5.A(false), z5));
return;
case 1:
Uri uri = (Uri) obj3;
String str = (String) obj2;
String str2 = (String) obj;
Object obj5 = ((com.google.android.gms.internal.measurement.d1) obj4).f1479e;
u4 u4Var2 = (u4) obj5;
u4Var2.r();
try {
e6 e6Var = ((y3) ((u4) obj5).f2932e).f5202u;
y3.i(e6Var);
w9 w9Var = w9.f1719e;
((x9) w9Var.c.a()).getClass();
d dVar = ((y3) ((u4) obj5).f2932e).f5197p;
q2 q2Var = r2.f5077p0;
boolean z6 = dVar.z(null, q2Var);
u4Var = u4Var2;
if (!TextUtils.isEmpty(str2)) {
try {
if (!str2.contains("gclid") && !str2.contains("utm_campaign") && !str2.contains("utm_source") && !str2.contains("utm_medium") && !str2.contains("utm_id") && !str2.contains("dclid") && !str2.contains("srsltid")) {
if (z6 && str2.contains("sfmc_id")) {
z6 = true;
}
b3 b3Var = ((y3) e6Var.f2932e).f5199r;
y3.k(b3Var);
b3Var.f4823w.a("Activity created with data 'referrer' without required params");
}
w02 = e6Var.w0(Uri.parse("https://google.com/search?".concat(str2)), z6);
if (w02 != null) {
w02.putString("_cis", "referrer");
}
if (z4) {
e6 e6Var2 = ((y3) ((u4) obj5).f2932e).f5202u;
y3.i(e6Var2);
((x9) w9Var.c.a()).getClass();
Bundle w03 = e6Var2.w0(uri, ((y3) ((u4) obj5).f2932e).f5197p.z(null, q2Var));
if (w03 != null) {
w03.putString("_cis", "intent");
if (!w03.containsKey("gclid") && w02 != null && w02.containsKey("gclid")) {
w03.putString("_cer", String.format("gclid=%s", w02.getString("gclid")));
}
((u4) obj5).y(w03, str, "_cmp");
((u4) obj5).f5159v.a(w03, str);
}
}
if (TextUtils.isEmpty(str2)) {
b3 b3Var2 = ((y3) ((u4) obj5).f2932e).f5199r;
y3.k(b3Var2);
b3Var2.f4823w.b(str2, "Activity created with referrer");
if (((y3) ((u4) obj5).f2932e).f5197p.z(null, r2.Z)) {
if (w02 != null) {
((u4) obj5).y(w02, str, "_cmp");
((u4) obj5).f5159v.a(w02, str);
} else {
b3 b3Var3 = ((y3) ((u4) obj5).f2932e).f5199r;
y3.k(b3Var3);
b3Var3.f4823w.b(str2, "Referrer does not contain valid parameters");
}
u4 u4Var3 = (u4) obj5;
((y3) u4Var3.f2932e).f5204w.getClass();
u4Var3.H("auto", "_ldl", null, true, System.currentTimeMillis());
return;
}
if (str2.contains("gclid") && (str2.contains("utm_campaign") || str2.contains("utm_source") || str2.contains("utm_medium") || str2.contains("utm_term") || str2.contains("utm_content"))) {
if (!TextUtils.isEmpty(str2)) {
u4 u4Var4 = (u4) obj5;
((y3) u4Var4.f2932e).f5204w.getClass();
u4Var4.H("auto", "_ldl", str2, true, System.currentTimeMillis());
return;
}
return;
}
b3 b3Var4 = ((y3) ((u4) obj5).f2932e).f5199r;
y3.k(b3Var4);
b3Var4.f4823w.a("Activity created with data 'referrer' without required params");
return;
}
return;
} catch (RuntimeException e5) {
e = e5;
b3 b3Var5 = ((y3) u4Var.f2932e).f5199r;
y3.k(b3Var5);
b3Var5.f4816p.b(e, "Throwable caught in handleReferrerForOnActivityCreated");
return;
}
}
w02 = null;
if (z4) {
}
if (TextUtils.isEmpty(str2)) {
}
} catch (RuntimeException e6) {
e = e6;
u4Var = u4Var2;
}
break;
case 2:
j5 j5Var = (j5) obj4;
t2 t2Var = j5Var.f4959n;
if (t2Var == null) {
b3 b3Var6 = ((y3) j5Var.f2932e).f5199r;
y3.k(b3Var6);
b3Var6.f4816p.a("Discarding data. Failed to send event to service");
return;
} else {
zzq zzqVar = (zzq) obj3;
j1.a.l(zzqVar);
if (!z4) {
abstractSafeParcelable = (zzau) obj;
}
j5Var.v(t2Var, abstractSafeParcelable, zzqVar);
j5Var.C();
return;
}
case 3:
j5 j5Var2 = (j5) obj4;
t2 t2Var2 = j5Var2.f4959n;
if (t2Var2 == null) {
b3 b3Var7 = ((y3) j5Var2.f2932e).f5199r;
y3.k(b3Var7);
b3Var7.f4816p.a("Discarding data. Failed to send conditional user property to service");
return;
} else {
zzq zzqVar2 = (zzq) obj3;
j1.a.l(zzqVar2);
if (!z4) {
abstractSafeParcelable = (zzac) obj2;
}
j5Var2.v(t2Var2, abstractSafeParcelable, zzqVar2);
j5Var2.C();
return;
}
default:
j5 t6 = ((AppMeasurementDynamiteService) obj4).f1898a.t();
boolean z7 = this.f5042e;
t6.r();
t6.s();
t6.D(new b5(t6, (String) obj2, (String) obj, t6.A(false), z7, (com.google.android.gms.internal.measurement.j0) obj3));
return;
}
}
public q4(AppMeasurementDynamiteService appMeasurementDynamiteService, com.google.android.gms.internal.measurement.j0 j0Var, String str, String str2, boolean z4) {
this.f5046o = appMeasurementDynamiteService;
this.f5045n = j0Var;
this.f5043f = str;
this.f5044m = str2;
this.f5042e = z4;
}
public q4(u4 u4Var, AtomicReference atomicReference, String str, String str2, boolean z4) {
this.f5046o = u4Var;
this.f5045n = atomicReference;
this.f5043f = str;
this.f5044m = str2;
this.f5042e = z4;
}
public q4(j5 j5Var, zzq zzqVar, boolean z4, zzac zzacVar, zzac zzacVar2) {
this.f5046o = j5Var;
this.f5045n = zzqVar;
this.f5042e = z4;
this.f5043f = zzacVar;
this.f5044m = zzacVar2;
}
public q4(j5 j5Var, zzq zzqVar, boolean z4, zzau zzauVar, String str) {
this.f5046o = j5Var;
this.f5045n = zzqVar;
this.f5042e = z4;
this.f5044m = zzauVar;
this.f5043f = str;
}
}