Joi Chat v2.1.3版本的 MD5 值为:58ea59fdad6b082c42108185d2ef342d
以下内容为反编译后的 d.java 源代码,内容仅作参考
package a1;
import android.app.PendingIntent;
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 com.google.android.gms.cloudmessaging.CloudMessagingReceiver;
import com.google.android.gms.common.internal.safeparcel.AbstractSafeParcelable;
import com.google.android.gms.internal.measurement.d1;
import com.google.android.gms.internal.measurement.j0;
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;
import u1.a5;
import u1.b3;
import u1.d6;
import u1.i5;
import u1.q2;
import u1.r2;
import u1.t2;
import u1.t4;
import u1.y3;
public final class d implements Runnable {
public final int c;
public final boolean f15e;
public final Object f16f;
public final Object f17m;
public final Object f18n;
public final Object f19o;
public d(CloudMessagingReceiver cloudMessagingReceiver, Intent intent, Context context, boolean z5, BroadcastReceiver.PendingResult pendingResult) {
this.c = 0;
this.f16f = cloudMessagingReceiver;
this.f17m = intent;
this.f18n = context;
this.f15e = z5;
this.f19o = pendingResult;
}
@Override
public final void run() {
Intent intent;
int c;
t4 t4Var;
Bundle w02;
int i5 = this.c;
boolean z5 = this.f15e;
Object obj = this.f18n;
Object obj2 = this.f19o;
Object obj3 = this.f17m;
Object obj4 = this.f16f;
AbstractSafeParcelable abstractSafeParcelable = null;
switch (i5) {
case 0:
CloudMessagingReceiver cloudMessagingReceiver = (CloudMessagingReceiver) obj4;
Intent intent2 = (Intent) obj3;
Context context = (Context) obj;
BroadcastReceiver.PendingResult pendingResult = (BroadcastReceiver.PendingResult) obj2;
cloudMessagingReceiver.getClass();
try {
Parcelable parcelableExtra = intent2.getParcelableExtra("wrapped_intent");
if (parcelableExtra instanceof Intent) {
intent = (Intent) parcelableExtra;
} else {
intent = null;
}
if (intent != null) {
PendingIntent pendingIntent = (PendingIntent) intent.getParcelableExtra("pending_intent");
if (pendingIntent != null) {
try {
pendingIntent.send();
} catch (PendingIntent.CanceledException unused) {
}
}
Bundle extras = intent.getExtras();
if (extras != null) {
extras.remove("pending_intent");
} else {
extras = new Bundle();
}
if ("com.google.firebase.messaging.NOTIFICATION_DISMISS".equals(intent.getAction())) {
cloudMessagingReceiver.b(extras);
c = -1;
} else {
c = 500;
}
} else {
c = cloudMessagingReceiver.c(context, intent2);
}
if (z5) {
pendingResult.setResultCode(c);
}
return;
} finally {
pendingResult.finish();
}
case 1:
i5 t4 = ((y3) ((t4) obj2).f3001e).t();
boolean z6 = this.f15e;
t4.r();
t4.s();
t4.D(new a5(t4, (AtomicReference) obj4, (String) obj3, (String) obj, t4.A(false), z6));
return;
case 2:
Uri uri = (Uri) obj4;
String str = (String) obj3;
String str2 = (String) obj;
Object obj5 = ((d1) obj2).f1536e;
t4 t4Var2 = (t4) obj5;
t4Var2.r();
try {
d6 d6Var = ((y3) ((t4) obj5).f3001e).f5325u;
y3.i(d6Var);
w9 w9Var = w9.f1784e;
((x9) w9Var.c.a()).getClass();
u1.d dVar = ((y3) ((t4) obj5).f3001e).f5320p;
q2 q2Var = r2.f5200p0;
boolean z7 = dVar.z(null, q2Var);
t4Var = t4Var2;
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 (z7 && str2.contains("sfmc_id")) {
z7 = true;
}
b3 b3Var = ((y3) d6Var.f3001e).f5322r;
y3.k(b3Var);
b3Var.f4953w.a("Activity created with data 'referrer' without required params");
}
w02 = d6Var.w0(Uri.parse("https://google.com/search?".concat(str2)), z7);
if (w02 != null) {
w02.putString("_cis", "referrer");
}
if (z5) {
d6 d6Var2 = ((y3) ((t4) obj5).f3001e).f5325u;
y3.i(d6Var2);
((x9) w9Var.c.a()).getClass();
Bundle w03 = d6Var2.w0(uri, ((y3) ((t4) obj5).f3001e).f5320p.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")));
}
((t4) obj5).y(w03, str, "_cmp");
((t4) obj5).f5261v.a(w03, str);
}
}
if (TextUtils.isEmpty(str2)) {
b3 b3Var2 = ((y3) ((t4) obj5).f3001e).f5322r;
y3.k(b3Var2);
b3Var2.f4953w.b(str2, "Activity created with referrer");
if (((y3) ((t4) obj5).f3001e).f5320p.z(null, r2.Z)) {
if (w02 != null) {
((t4) obj5).y(w02, str, "_cmp");
((t4) obj5).f5261v.a(w02, str);
} else {
b3 b3Var3 = ((y3) ((t4) obj5).f3001e).f5322r;
y3.k(b3Var3);
b3Var3.f4953w.b(str2, "Referrer does not contain valid parameters");
}
t4 t4Var3 = (t4) obj5;
((y3) t4Var3.f3001e).f5327w.getClass();
t4Var3.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)) {
t4 t4Var4 = (t4) obj5;
((y3) t4Var4.f3001e).f5327w.getClass();
t4Var4.H("auto", "_ldl", str2, true, System.currentTimeMillis());
return;
}
return;
}
b3 b3Var4 = ((y3) ((t4) obj5).f3001e).f5322r;
y3.k(b3Var4);
b3Var4.f4953w.a("Activity created with data 'referrer' without required params");
return;
}
return;
} catch (RuntimeException e6) {
e = e6;
b3 b3Var5 = ((y3) t4Var.f3001e).f5322r;
y3.k(b3Var5);
b3Var5.f4946p.b(e, "Throwable caught in handleReferrerForOnActivityCreated");
return;
}
}
w02 = null;
if (z5) {
}
if (TextUtils.isEmpty(str2)) {
}
} catch (RuntimeException e7) {
e = e7;
t4Var = t4Var2;
}
break;
case 3:
i5 i5Var = (i5) obj2;
t2 t2Var = i5Var.f5072n;
if (t2Var == null) {
b3 b3Var6 = ((y3) i5Var.f3001e).f5322r;
y3.k(b3Var6);
b3Var6.f4946p.a("Discarding data. Failed to send event to service");
return;
} else {
zzq zzqVar = (zzq) obj4;
q.a.i(zzqVar);
if (!z5) {
abstractSafeParcelable = (zzau) obj3;
}
i5Var.v(t2Var, abstractSafeParcelable, zzqVar);
i5Var.C();
return;
}
case 4:
i5 i5Var2 = (i5) obj2;
t2 t2Var2 = i5Var2.f5072n;
if (t2Var2 == null) {
b3 b3Var7 = ((y3) i5Var2.f3001e).f5322r;
y3.k(b3Var7);
b3Var7.f4946p.a("Discarding data. Failed to send conditional user property to service");
return;
} else {
zzq zzqVar2 = (zzq) obj4;
q.a.i(zzqVar2);
if (!z5) {
abstractSafeParcelable = (zzac) obj3;
}
i5Var2.v(t2Var2, abstractSafeParcelable, zzqVar2);
i5Var2.C();
return;
}
default:
i5 t5 = ((AppMeasurementDynamiteService) obj2).f1963a.t();
boolean z8 = this.f15e;
t5.r();
t5.s();
t5.D(new a5(t5, (String) obj3, (String) obj, t5.A(false), z8, (j0) obj4));
return;
}
}
public d(d1 d1Var, boolean z5, Uri uri, String str, String str2) {
this.c = 2;
this.f19o = d1Var;
this.f15e = z5;
this.f16f = uri;
this.f17m = str;
this.f18n = str2;
}
public d(AppMeasurementDynamiteService appMeasurementDynamiteService, j0 j0Var, String str, String str2, boolean z5) {
this.c = 5;
this.f19o = appMeasurementDynamiteService;
this.f16f = j0Var;
this.f17m = str;
this.f18n = str2;
this.f15e = z5;
}
public d(t4 t4Var, AtomicReference atomicReference, String str, String str2, boolean z5) {
this.c = 1;
this.f19o = t4Var;
this.f16f = atomicReference;
this.f17m = str;
this.f18n = str2;
this.f15e = z5;
}
public d(i5 i5Var, zzq zzqVar, boolean z5, AbstractSafeParcelable abstractSafeParcelable, Object obj, int i5) {
this.c = i5;
this.f19o = i5Var;
this.f16f = zzqVar;
this.f15e = z5;
this.f17m = abstractSafeParcelable;
this.f18n = obj;
}
}