导航菜单

页面标题

页面副标题

Bhakti v5.4.0 - MoERichPushIntentService.java 源代码

正在查看: Bhakti v5.4.0 应用的 MoERichPushIntentService.java JAVA 源代码文件

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


package com.moengage.richnotification.internal;

import Ai.p;
import Be.b;
import I5.g;
import Ih.d;
import Yf.e;
import android.app.IntentService;
import android.content.Context;
import android.content.Intent;
import android.os.Bundle;
import kotlin.Metadata;
import kotlin.jvm.functions.Function0;
import kotlin.jvm.internal.G;
import kotlin.jvm.internal.Intrinsics;
import mf.h;
import nf.F;
import qg.e0;
import uh.w;
import uq.a;
import yd.c;

@Metadata
public final class MoERichPushIntentService extends IntentService {
    public final String a;

    public MoERichPushIntentService() {
        super("RichPushIntentService");
        this.a = "RichPush_6.1.0_MoERichPushIntentService";
    }

    @Override
    public final void onHandleIntent(Intent intent) {
        Bundle extras;
        try {
            c cVar = h.c;
            p.P(0, (Throwable) null, (e0) null, new d(this, 0), 7);
            if (intent == null || (extras = intent.getExtras()) == null) {
                return;
            }
            e.T(extras, this.a);
            g.a0(extras);
            a.w();
            F J9 = w.J(extras);
            if (J9 == null) {
                p.P(0, (Throwable) null, (e0) null, new d(this, 1), 7);
                return;
            }
            G g5 = new G();
            g5.a = extras.getInt("image_index", -1);
            int i10 = extras.getInt("image_count", -1);
            String string = extras.getString("nav_dir", "next");
            h.a(J9.d, 0, (Throwable) null, (Function0) null, new Ih.e(this, string, g5, i10), 7);
            if (i10 == -1) {
                return;
            }
            extras.putBoolean("moe_re_notify", true);
            if (g5.a == -1) {
                h.a(J9.d, 0, (Throwable) null, (Function0) null, new d(this, 2), 7);
                extras.putInt("image_index", 0);
                w w10 = a.w();
                Context applicationContext = getApplicationContext();
                Intrinsics.checkNotNullExpressionValue(applicationContext, "getApplicationContext(...)");
                w10.K(applicationContext, extras);
                return;
            }
            if (Intrinsics.c(string, "next")) {
                int i11 = g5.a + 1;
                g5.a = i11;
                if (i11 >= i10) {
                    g5.a = 0;
                }
            } else {
                if (!Intrinsics.c(string, "previous")) {
                    throw new IllegalStateException("Not a valid direction");
                }
                int i12 = g5.a - 1;
                g5.a = i12;
                if (i12 < 0) {
                    g5.a = i10 - 1;
                }
            }
            h.a(J9.d, 0, (Throwable) null, (Function0) null, new b(19, this, g5), 7);
            extras.putInt("image_index", g5.a);
            w w11 = a.w();
            Context applicationContext2 = getApplicationContext();
            Intrinsics.checkNotNullExpressionValue(applicationContext2, "getApplicationContext(...)");
            w11.K(applicationContext2, extras);
        } catch (Throwable th2) {
            c cVar2 = h.c;
            p.P(1, th2, (e0) null, new d(this, 3), 4);
        }
    }
}