正在查看: CityMall v1.42.1 应用的 PTPushNotificationReceiver.java JAVA 源代码文件
本页面展示 JAVA 反编译生成的源代码文件,支持语法高亮显示。 仅供安全研究与技术分析使用,严禁用于任何非法用途。请遵守相关法律法规。
正在查看: CityMall v1.42.1 应用的 PTPushNotificationReceiver.java JAVA 源代码文件
本页面展示 JAVA 反编译生成的源代码文件,支持语法高亮显示。 仅供安全研究与技术分析使用,严禁用于任何非法用途。请遵守相关法律法规。
package com.clevertap.android.pushtemplates;
import android.content.Context;
import android.content.Intent;
import android.os.Bundle;
import com.clevertap.android.sdk.CleverTapAPI;
import com.clevertap.android.sdk.pushnotification.CTPushNotificationReceiver;
import i1.AbstractC1098a;
import java.util.concurrent.Callable;
public class PTPushNotificationReceiver extends CTPushNotificationReceiver {
class a implements Callable {
final Context f12730a;
final Intent f12731b;
a(Context context, Intent intent) {
this.f12730a = context;
this.f12731b = intent;
}
@Override
public Void call() {
try {
d.e(this.f12730a, this.f12731b);
d.f(this.f12730a);
return null;
} catch (Throwable th) {
com.clevertap.android.pushtemplates.a.c("Couldn't clean up images and/or couldn't delete silent notification channel: " + th.getLocalizedMessage());
return null;
}
}
}
@Override
public void onReceive(Context context, Intent intent) {
if (intent.getStringExtra("wzrk_dl") == null) {
intent.removeExtra("wzrk_dl");
}
super.onReceive(context, intent);
Bundle extras = intent.getExtras();
if (extras == null) {
return;
}
CleverTapAPI k02 = CleverTapAPI.k0(context, extras.getString("wzrk_acct_id"));
if (k02 == null) {
com.clevertap.android.pushtemplates.a.c("clevertap instance is null, not running PTPushNotificationReceiver#cleanUpFiles");
return;
}
try {
AbstractC1098a.c(k02.Z().g()).d().g("PTPushNotificationReceiver#cleanUpFiles", new a(context, intent));
} catch (Exception e5) {
com.clevertap.android.pushtemplates.a.c("Couldn't clean up images and/or couldn't delete silent notification channel: " + e5.getLocalizedMessage());
}
}
}