CCIPTV PRO v3.0.9.1版本的 MD5 值为:e78d4d980447be4a9f823314f45bbf03
以下内容为反编译后的 d7.java 源代码,内容仅作参考
package f.f.a.d.k.b;
import android.net.Uri;
import android.os.Bundle;
import android.text.TextUtils;
public final class d7 implements Runnable {
public final boolean b;
public final Uri c;
public final String f8602d;
public final String f8603e;
public final e7 f8604f;
public d7(e7 e7Var, boolean z, Uri uri, String str, String str2) {
this.f8604f = e7Var;
this.b = z;
this.c = uri;
this.f8602d = str;
this.f8603e = str2;
}
@Override
public final void run() {
Bundle j0;
Bundle bundle;
e7 e7Var = this.f8604f;
boolean z = this.b;
Uri uri = this.c;
String str = this.f8602d;
String str2 = this.f8603e;
e7Var.b.h();
try {
if (e7Var.b.a.z().w(null, m3.d0) || e7Var.b.a.z().w(null, m3.f0) || e7Var.b.a.z().w(null, m3.e0)) {
ea G = e7Var.b.a.G();
if (!TextUtils.isEmpty(str2)) {
if (str2.contains("gclid") || str2.contains("utm_campaign") || str2.contains("utm_source") || str2.contains("utm_medium")) {
String valueOf = String.valueOf(str2);
j0 = G.j0(Uri.parse(valueOf.length() != 0 ? "https://google.com/search?".concat(valueOf) : new String("https://google.com/search?")));
if (j0 != null) {
j0.putString("_cis", "referrer");
}
if (z) {
bundle = null;
} else {
bundle = e7Var.b.a.G().j0(uri);
if (bundle != null) {
bundle.putString("_cis", "intent");
if (e7Var.b.a.z().w(null, m3.d0) && !bundle.containsKey("gclid") && j0 != null && j0.containsKey("gclid")) {
bundle.putString("_cer", String.format("gclid=%s", j0.getString("gclid")));
}
e7Var.b.X(str, "_cmp", bundle);
if (e7Var.b.a.z().w(null, m3.B0)) {
e7Var.b.f8635n.b(str, bundle);
}
}
}
if (e7Var.b.a.z().w(null, m3.f0) && !e7Var.b.a.z().w(null, m3.e0) && j0 != null && j0.containsKey("gclid") && (bundle == null || !bundle.containsKey("gclid"))) {
e7Var.b.c0("auto", "_lgclid", j0.getString("gclid"), true);
}
if (TextUtils.isEmpty(str2)) {
e7Var.b.a.c().v().b("Activity created with referrer", str2);
if (e7Var.b.a.z().w(null, m3.e0)) {
if (j0 != null) {
e7Var.b.X(str, "_cmp", j0);
if (e7Var.b.a.z().w(null, m3.B0)) {
e7Var.b.f8635n.b(str, j0);
}
} else {
e7Var.b.a.c().v().b("Referrer does not contain valid parameters", str2);
}
e7Var.b.c0("auto", "_ldl", null, true);
return;
} else if (!str2.contains("gclid") || (!str2.contains("utm_campaign") && !str2.contains("utm_source") && !str2.contains("utm_medium") && !str2.contains("utm_term") && !str2.contains("utm_content"))) {
e7Var.b.a.c().v().a("Activity created with data 'referrer' without required params");
return;
} else if (TextUtils.isEmpty(str2)) {
return;
} else {
e7Var.b.c0("auto", "_ldl", str2, true);
return;
}
}
return;
}
G.a.c().v().a("Activity created with data 'referrer' without required params");
}
}
j0 = null;
if (z) {
}
if (e7Var.b.a.z().w(null, m3.f0)) {
e7Var.b.c0("auto", "_lgclid", j0.getString("gclid"), true);
}
if (TextUtils.isEmpty(str2)) {
}
} catch (Exception e2) {
e7Var.b.a.c().o().b("Throwable caught in handleReferrerForOnActivityCreated", e2);
}
}
}