正在查看: Minits v4.9.3.32 应用的 XOneNotificationClickReceiver.java JAVA 源代码文件
本页面展示 JAVA 反编译生成的源代码文件,支持语法高亮显示。 仅供安全研究与技术分析使用,严禁用于任何非法用途。请遵守相关法律法规。
正在查看: Minits v4.9.3.32 应用的 XOneNotificationClickReceiver.java JAVA 源代码文件
本页面展示 JAVA 反编译生成的源代码文件,支持语法高亮显示。 仅供安全研究与技术分析使用,严禁用于任何非法用途。请遵守相关法律法规。
package com.xone.android.framework.notifications;
import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;
import android.os.Bundle;
import com.xone.android.framework.xoneApp;
import fb.AbstractC0692e;
import fb.AbstractC0698k;
import java.io.Serializable;
import java.util.Map;
import s8.b;
import s8.d;
import s8.h;
import ua.O;
import z0.z;
public final class XOneNotificationClickReceiver extends BroadcastReceiver {
public static boolean b() {
O S;
return xoneApp.c1() == null || (S = xoneApp.Z0().S()) == null || S.c();
}
public static void c(Bundle bundle) {
Intent launchIntentForPackage = xoneApp.getContext().getPackageManager().getLaunchIntentForPackage(xoneApp.getContext().getPackageName());
if (launchIntentForPackage == null) {
throw new NullPointerException("Cannot obtain launch intent");
}
launchIntentForPackage.setFlags(268468224);
launchIntentForPackage.putExtra("executeOnRecovery", true);
launchIntentForPackage.putExtra("executeOnMessage", false);
launchIntentForPackage.putExtra("intentBundle", bundle);
xoneApp.getContext().startActivity(launchIntentForPackage);
}
public static void d(Bundle bundle) {
if (b()) {
c(bundle);
}
}
public final CharSequence a(Intent intent, int i, int i2) {
Bundle j = z.j(intent);
if (j == null) {
return "";
}
CharSequence charSequence = j.getCharSequence(String.valueOf(i2));
h.f().c(Integer.valueOf(i));
return charSequence;
}
@Override
public void onReceive(Context context, Intent intent) {
if (intent == null) {
return;
}
int i = AbstractC0698k.i(intent, "notificationId", -1);
int i2 = AbstractC0698k.i(intent, "notificationButtonId", -1);
Serializable p = AbstractC0698k.p(intent, "notificationParameters", null);
h f = h.f();
if (i == -1) {
return;
}
Map j = f.j();
if (xoneApp.c1() == null) {
j.clear();
}
b bVar = (b) j.get(Integer.valueOf(i));
if (bVar == null) {
Bundle bundle = new Bundle();
AbstractC0692e.o(bundle, "notificationId", i);
AbstractC0692e.o(bundle, "notificationButtonId", i2);
AbstractC0692e.q(bundle, "notificationButtonReply", a(intent, i, i2));
AbstractC0692e.p(bundle, "notificationParameters", p);
d(bundle);
return;
}
if (i2 == -1) {
if (bVar.d()) {
j.remove(Integer.valueOf(i));
return;
}
return;
}
d c = bVar.c(Integer.valueOf(i2));
if (c == null) {
return;
}
if (c.g()) {
c.i(a(intent, i, i2));
}
if (p != null) {
c.j(p);
}
c.h();
}
}