导航菜单

页面标题

页面副标题

Minits v4.9.3.32 - SmsSentResult.java 源代码

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

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


package com.xone.android.sms;

import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;
import ba.h;
import ba.i;
import fb.AbstractC0698k;
import ua.InterfaceC1038m0;

public final class SmsSentResult extends BroadcastReceiver {
    public final void a(InterfaceC1038m0 interfaceC1038m0, String str) {
        h d = h.d(interfaceC1038m0, true);
        if (d != null) {
            d.g(str);
        }
        SmsSenderService.k(interfaceC1038m0, false);
    }

    @Override
    public void onReceive(Context context, Intent intent) {
        InterfaceC1038m0 interfaceC1038m0 = (InterfaceC1038m0) context.getApplicationContext();
        int resultCode = getResultCode();
        String t = AbstractC0698k.t(intent, "sId", "");
        if (resultCode == -1) {
            i.a("Message ID: " + t + " Status: RESULT_OK");
            h d = h.d(interfaceC1038m0, true);
            if (d != null) {
                d.b(t);
                return;
            }
            return;
        }
        if (resultCode == 1) {
            i.a("Message ID: " + t + " Status: RESULT_ERROR_GENERIC_FAILURE");
            a(interfaceC1038m0, t);
            return;
        }
        if (resultCode == 2) {
            i.a("Message ID: " + t + " Status: RESULT_ERROR_RADIO_OFF");
            a(interfaceC1038m0, t);
            return;
        }
        if (resultCode == 3) {
            i.a("Message ID: " + t + " Status: RESULT_ERROR_NULL_PDU");
            a(interfaceC1038m0, t);
            return;
        }
        if (resultCode != 4) {
            i.a("Message ID: " + t + " Status: Unknown");
            return;
        }
        i.a("Message ID: " + t + " Status: RESULT_ERROR_NO_SERVICE");
        a(interfaceC1038m0, t);
    }
}