正在查看: Crafto v9.3.3 应用的 ShareBroadcastReceiver.java JAVA 源代码文件
本页面展示 JAVA 反编译生成的源代码文件,支持语法高亮显示。 仅供安全研究与技术分析使用,严禁用于任何非法用途。请遵守相关法律法规。
正在查看: Crafto v9.3.3 应用的 ShareBroadcastReceiver.java JAVA 源代码文件
本页面展示 JAVA 反编译生成的源代码文件,支持语法高亮显示。 仅供安全研究与技术分析使用,严禁用于任何非法用途。请遵守相关法律法规。
package com.crafto.android.utility;
import Ab.H;
import Bb.j;
import Bb.k;
import android.content.ComponentName;
import android.content.Context;
import android.content.Intent;
import java.util.HashMap;
import kotlin.Metadata;
import kotlin.jvm.internal.Intrinsics;
import org.jetbrains.annotations.NotNull;
@Metadata
public final class ShareBroadcastReceiver extends Hilt_ShareBroadcastReceiver {
public static String f;
public j c;
public H d;
public PreferencesHelper e;
@NotNull
public final H a() {
H h = this.d;
if (h != null) {
return h;
}
Intrinsics.throwUninitializedPropertyAccessException("paramsConstants");
return null;
}
@Override
public final void onReceive(@NotNull Context context, @NotNull Intent intent) {
super.onReceive(context, intent);
Intrinsics.checkNotNullParameter(context, "context");
Intrinsics.checkNotNullParameter(intent, "intent");
try {
ComponentName componentName = (ComponentName) intent.getParcelableExtra("android.intent.extra.CHOSEN_COMPONENT");
do.a.a.c("ShareBroadcastReceiver clickedComponent " + componentName, new Object[0]);
HashMap<String, Object> hashMap = new HashMap<>();
hashMap.put("Location", "Share Bottom Sheet");
hashMap.put("Type", "Share Completed");
j jVar = null;
hashMap.put("Value", componentName != null ? componentName.getPackageName() : null);
hashMap.put("targetIntent", componentName != null ? componentName.getShortClassName() : null);
String str = f;
if (str != null) {
f = null;
hashMap.put("Share Source", str);
}
PreferencesHelper preferencesHelper = this.e;
if (preferencesHelper == null) {
Intrinsics.throwUninitializedPropertyAccessException("preferencesHelper");
preferencesHelper = null;
}
String f2 = preferencesHelper.f();
if (f2 != null) {
hashMap.put("Country Name", f2);
}
String stringExtra = intent.getStringExtra("extra_search_type");
if (stringExtra == null) {
stringExtra = null;
}
HashMap hashMap2 = new HashMap();
if (stringExtra != null) {
hashMap2.put(a().u1, stringExtra);
}
String stringExtra2 = intent.getStringExtra("extra_search_id");
if (stringExtra2 != null) {
hashMap2.put(a().y1, stringExtra2);
}
String stringExtra3 = intent.getStringExtra("extra_content_type");
if (stringExtra3 != null) {
hashMap.put(a().t1, stringExtra3);
}
String stringExtra4 = intent.getStringExtra("extraSlot");
if (stringExtra4 != null) {
hashMap.put(a().f0, stringExtra4);
}
String stringExtra5 = intent.getStringExtra("sourceCategory");
if (stringExtra5 != null) {
hashMap.put("Source Category", stringExtra5);
}
String stringExtra6 = intent.getStringExtra("location");
if (stringExtra6 != null) {
hashMap.put(a().F1, stringExtra6);
}
String stringExtra7 = intent.getStringExtra("extraPosition");
if (stringExtra7 != null) {
hashMap.put(new k().d, stringExtra7);
}
String stringExtra8 = intent.getStringExtra("extraValue");
if (stringExtra8 != null) {
hashMap.put(a().U1, stringExtra8);
}
String stringExtra9 = intent.getStringExtra("QuoteId");
if (stringExtra9 != null) {
hashMap.put(a().r, stringExtra9);
}
j jVar2 = this.c;
if (jVar2 != null) {
jVar = jVar2;
} else {
Intrinsics.throwUninitializedPropertyAccessException("cleverTapUtil");
}
jVar.f("Click Action", hashMap, false);
} catch (Exception e) {
do.a.a.e(e);
}
}
}