导航菜单

页面标题

页面副标题

Minits v4.9.3.32 - NotificationClickActivity.java 源代码

正在查看: Minits v4.9.3.32 应用的 NotificationClickActivity.java JAVA 源代码文件

本页面展示 JAVA 反编译生成的源代码文件,支持语法高亮显示。 仅供安全研究与技术分析使用,严禁用于任何非法用途。请遵守相关法律法规。


package com.xone.android.framework.activities;

import android.app.Activity;
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 NotificationClickActivity extends Activity {
    public static boolean b() {
        O S;
        return xoneApp.c1() == null || (S = xoneApp.Z0().S()) == null || S.c();
    }

    public static void c(Bundle bundle) {
        xoneApp Z0 = xoneApp.Z0();
        Intent launchIntentForPackage = Z0.getPackageManager().getLaunchIntentForPackage(Z0.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);
        Z0.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 onCreate(Bundle bundle) {
        super.onCreate(bundle);
        try {
            Intent intent = getIntent();
            if (intent == null) {
                finish();
                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) {
                finish();
                return;
            }
            Map j = f.j();
            if (xoneApp.c1() == null) {
                j.clear();
            }
            b bVar = (b) j.get(Integer.valueOf(i));
            if (bVar == null) {
                Bundle bundle2 = new Bundle();
                AbstractC0692e.o(bundle2, "notificationId", i);
                AbstractC0692e.o(bundle2, "notificationButtonId", i2);
                AbstractC0692e.q(bundle2, "notificationButtonReply", a(intent, i, i2));
                AbstractC0692e.p(bundle2, "notificationParameters", p);
                d(bundle2);
                finish();
                return;
            }
            if (i2 != -1) {
                d c = bVar.c(Integer.valueOf(i2));
                if (c == null) {
                    finish();
                    return;
                }
                if (c.g()) {
                    c.i(a(intent, i, i2));
                }
                if (p != null) {
                    c.j(p);
                }
                c.h();
            } else {
                if (!bVar.d()) {
                    finish();
                    return;
                }
                j.remove(Integer.valueOf(i));
            }
            finish();
        } catch (Throwable th) {
            finish();
            throw th;
        }
    }
}