导航菜单

页面标题

页面副标题

Minits v4.9.3.32 - SmsSenderService.java 源代码

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

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


package com.xone.android.sms;

import android.content.Context;
import android.content.Intent;
import android.os.Bundle;
import ba.f;
import ba.i;
import com.xone.interfaces.IRuntimeObject;
import java.util.concurrent.TimeUnit;
import qa.EnumC0975b;
import ua.InterfaceC1038m0;
import z0.h;

public final class SmsSenderService extends h {
    public static long j(InterfaceC1038m0 interfaceC1038m0) {
        try {
            IRuntimeObject a = interfaceC1038m0.a("SmsService");
            if (a != null) {
                return ((Long) a.Invoke("GetRetryInterval", EnumC0975b.Method, null)).longValue();
            }
            return 30L;
        } catch (Exception e) {
            e.printStackTrace();
            return 30L;
        }
    }

    public static void k(InterfaceC1038m0 interfaceC1038m0, boolean z) {
        l(interfaceC1038m0, z, j(interfaceC1038m0));
    }

    public static void l(InterfaceC1038m0 interfaceC1038m0, boolean z, long j) {
        if (ba.h.d(interfaceC1038m0, true) == null) {
            return;
        }
        Context context = (Context) interfaceC1038m0;
        Intent intent = new Intent(context, (Class<?>) SmsSenderService.class);
        intent.putExtra("nWaitBeforeSend", j);
        intent.putExtra("bInitialLaunch", z);
        h.d(context, SmsSenderService.class, f.a, intent);
    }

    public void g(Intent intent) {
        Bundle extras = intent.getExtras();
        if (extras == null) {
            i.a("extras == null");
            return;
        }
        boolean z = extras.getBoolean("bInitialLaunch", false);
        ba.h d = ba.h.d((InterfaceC1038m0) getApplicationContext(), true);
        if (z && d != null) {
            d.e();
        }
        long j = extras.getLong("nWaitBeforeSend");
        if (j > 0) {
            try {
                TimeUnit.SECONDS.sleep(j);
            } catch (InterruptedException e) {
                e.printStackTrace();
            }
        }
        if (d != null) {
            d.f();
        }
    }
}