正在查看: Dostt v1.0.89 应用的 MoEPushReceiver.java JAVA 源代码文件
本页面展示 JAVA 反编译生成的源代码文件,支持语法高亮显示。 仅供安全研究与技术分析使用,严禁用于任何非法用途。请遵守相关法律法规。
正在查看: Dostt v1.0.89 应用的 MoEPushReceiver.java JAVA 源代码文件
本页面展示 JAVA 反编译生成的源代码文件,支持语法高亮显示。 仅供安全研究与技术分析使用,严禁用于任何非法用途。请遵守相关法律法规。
package com.moengage.pushbase.internal;
import Bc.h;
import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;
import android.os.Bundle;
import androidx.annotation.Keep;
import jd.AbstractC1663d;
import kotlin.Metadata;
import kotlin.jvm.internal.AbstractC1735t;
@Keep
@Metadata(d1 = {"\u00000\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u0003\n\u0002\u0018\u0002\n\u0002\b\u0003\n\u0002\u0010\u000e\n\u0002\b\u0003\b\u0007\u0018\u00002\u00020\u0001B\u0007¢\u0006\u0004\b\u0002\u0010\u0003J\u001f\u0010\t\u001a\u00020\b2\u0006\u0010\u0005\u001a\u00020\u00042\u0006\u0010\u0007\u001a\u00020\u0006H\u0002¢\u0006\u0004\b\t\u0010\nJ\u001f\u0010\u000b\u001a\u00020\b2\u0006\u0010\u0005\u001a\u00020\u00042\u0006\u0010\u0007\u001a\u00020\u0006H\u0002¢\u0006\u0004\b\u000b\u0010\nJ\u001f\u0010\u000e\u001a\u00020\b2\u0006\u0010\u0005\u001a\u00020\u00042\u0006\u0010\r\u001a\u00020\fH\u0016¢\u0006\u0004\b\u000e\u0010\u000fR\u0014\u0010\u0011\u001a\u00020\u00108\u0002X\u0082D¢\u0006\u0006\n\u0004\b\u0011\u0010\u0012¨\u0006\u0013"}, d2 = {"Lcom/moengage/pushbase/internal/MoEPushReceiver;", "Landroid/content/BroadcastReceiver;", "<init>", "()V", "Landroid/content/Context;", "context", "Landroid/os/Bundle;", "extras", "LSh/J;", "handleNotificationDismiss", "(Landroid/content/Context;Landroid/os/Bundle;)V", "handleNotification", "Landroid/content/Intent;", "intent", "onReceive", "(Landroid/content/Context;Landroid/content/Intent;)V", "", "tag", "Ljava/lang/String;", "pushbase_defaultRelease"}, k = 1, mv = {1, 9, 0}, xi = 48)
public final class MoEPushReceiver extends BroadcastReceiver {
private final String tag = "PushBase_8.4.0_MoEPushReceiver";
static final class a extends AbstractC1735t implements gi.a {
a() {
super(0);
}
@Override
public final String invoke() {
return MoEPushReceiver.this.tag + " handleNotification() : ";
}
}
static final class b extends AbstractC1735t implements gi.a {
final String b;
b(String str) {
super(0);
this.b = str;
}
@Override
public final String invoke() {
return MoEPushReceiver.this.tag + " handleNotificationDismiss() : Will try to dismiss notification, Notification Tag: " + this.b;
}
}
static final class c extends AbstractC1735t implements gi.a {
final String b;
c(String str) {
super(0);
this.b = str;
}
@Override
public final String invoke() {
return MoEPushReceiver.this.tag + " handleNotificationDismiss() : Notification dismissed for Tag: " + this.b;
}
}
static final class d extends AbstractC1735t implements gi.a {
d() {
super(0);
}
@Override
public final String invoke() {
return MoEPushReceiver.this.tag + " onReceive() : ";
}
}
static final class e extends AbstractC1735t implements gi.a {
final String b;
e(String str) {
super(0);
this.b = str;
}
@Override
public final String invoke() {
return MoEPushReceiver.this.tag + " onReceive() : Action: " + this.b;
}
}
static final class f extends AbstractC1735t implements gi.a {
f() {
super(0);
}
@Override
public final String invoke() {
return MoEPushReceiver.this.tag + " onReceive() : Not a valid action type.";
}
}
static final class g extends AbstractC1735t implements gi.a {
g() {
super(0);
}
@Override
public final String invoke() {
return MoEPushReceiver.this.tag + " onReceive() : ";
}
}
private final void handleNotification(Context context, Bundle extras) {
h.a.e(Bc.h.e, 0, null, null, new a(), 7, null);
n.b.a().j(context, extras);
}
private final void handleNotificationDismiss(Context context, Bundle extras) {
String string = extras.getString("gcm_campaign_id", "");
kotlin.jvm.internal.r.e(string, "getString(...)");
String n = t.n(string);
h.a aVar = Bc.h.e;
h.a.e(aVar, 0, null, null, new b(n), 7, null);
if (Aj.o.x(n)) {
return;
}
t.w(context, 17987, n);
h.a.e(aVar, 0, null, null, new c(n), 7, null);
}
@Override
public void onReceive(Context context, Intent intent) {
kotlin.jvm.internal.r.f(context, "context");
kotlin.jvm.internal.r.f(intent, "intent");
try {
h.a aVar = Bc.h.e;
h.a.e(aVar, 0, null, null, new d(), 7, null);
Bundle extras = intent.getExtras();
if (extras == null) {
return;
}
String action = intent.getAction();
h.a.e(aVar, 0, null, null, new e(action), 7, null);
if (action != null && !Aj.o.x(action)) {
AbstractC1663d.i0(this.tag, extras);
if (kotlin.jvm.internal.r.b(action, "MOE_ACTION_NOTIFICATION_AUTO_DISMISS")) {
handleNotificationDismiss(context, extras);
} else if (kotlin.jvm.internal.r.b(action, "MOE_ACTION_SHOW_NOTIFICATION")) {
handleNotification(context, extras);
} else {
h.a.e(aVar, 0, null, null, new f(), 7, null);
}
}
} catch (Exception e2) {
h.a.e(Bc.h.e, 1, e2, null, new g(), 4, null);
}
}
}