正在查看: Oolka v2.4.42 应用的 PTPushNotificationReceiver.java JAVA 源代码文件
本页面展示 JAVA 反编译生成的源代码文件,支持语法高亮显示。 仅供安全研究与技术分析使用,严禁用于任何非法用途。请遵守相关法律法规。
正在查看: Oolka v2.4.42 应用的 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.n0;
import com.clevertap.android.sdk.pushnotification.CTPushNotificationReceiver;
import com.clevertap.android.sdk.task.CTExecutorFactory;
import java.util.concurrent.Callable;
public class PTPushNotificationReceiver extends CTPushNotificationReceiver {
public class a implements Callable<Void> {
public final Context a;
public final Intent b;
public a(Context context, Intent intent) {
this.a = context;
this.b = intent;
}
@Override
public Void call() throws Exception {
try {
Utils.f(this.a, this.b);
Utils.g(this.a);
return null;
} catch (Throwable th) {
e.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;
}
n0 x0 = n0.x0(context, extras.getString("wzrk_acct_id"));
if (x0 == null) {
e.c("clevertap instance is null, not running PTPushNotificationReceiver#cleanUpFiles");
return;
}
try {
CTExecutorFactory.a(x0.m0().g()).c().g("PTPushNotificationReceiver#cleanUpFiles", new a(context, intent));
} catch (Exception e) {
e.c("Couldn't clean up images and/or couldn't delete silent notification channel: " + e.getLocalizedMessage());
}
}
}