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