导航菜单

页面标题

页面副标题

Housing v14.7.8 - OtplessZeroTapReceiver.java 源代码

正在查看: Housing v14.7.8 应用的 OtplessZeroTapReceiver.java JAVA 源代码文件

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


package com.otpless.main;

import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;
import com.facebook.gamingservices.cloudgaming.internal.SDKConstants;
import com.otpless.utils.Utility;
import java.lang.ref.WeakReference;
import kotlin.Metadata;
import kotlin.jvm.internal.DefaultConstructorMarker;
import kotlin.jvm.internal.r;
import org.jetbrains.annotations.NotNull;

@Metadata(d1 = {"\u0000 \n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u0004\u0018\u0000 \u000b2\u00020\u0001:\u0001\u000bB\u0007¢\u0006\u0004\b\u0002\u0010\u0003J\u001f\u0010\t\u001a\u00020\b2\u0006\u0010\u0005\u001a\u00020\u00042\u0006\u0010\u0007\u001a\u00020\u0006H\u0016¢\u0006\u0004\b\t\u0010\n¨\u0006\f"}, d2 = {"Lcom/otpless/main/OtplessZeroTapReceiver;", "Landroid/content/BroadcastReceiver;", "<init>", "()V", "Landroid/content/Context;", "context", "Landroid/content/Intent;", SDKConstants.PARAM_INTENT, "Lzp/j0;", "onReceive", "(Landroid/content/Context;Landroid/content/Intent;)V", "Companion", "otpless-android-sdk_release"}, k = 1, mv = {1, 9, 0}, xi = 48)
public final class OtplessZeroTapReceiver extends BroadcastReceiver {

    @NotNull
    public static final Companion INSTANCE = new Companion(null);

    @NotNull
    private static WeakReference<WhatsappOtpReaderImpl> otpReaderImpl = new WeakReference<>(null);

    @Metadata(d1 = {"\u0000\u0018\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\b\u0005\b\u0086\u0003\u0018\u00002\u00020\u0001B\u0007\b\u0002¢\u0006\u0002\u0010\u0002R\"\u0010\u0003\u001a\n\u0012\u0006\u0012\u0004\u0018\u00010\u00050\u0004X\u0080\u000e¢\u0006\u000e\n\u0000\u001a\u0004\b\u0006\u0010\u0007\"\u0004\b\b\u0010\t¨\u0006\n"}, d2 = {"Lcom/otpless/main/OtplessZeroTapReceiver$Companion;", "", "()V", "otpReaderImpl", "Ljava/lang/ref/WeakReference;", "Lcom/otpless/main/WhatsappOtpReaderImpl;", "getOtpReaderImpl$otpless_android_sdk_release", "()Ljava/lang/ref/WeakReference;", "setOtpReaderImpl$otpless_android_sdk_release", "(Ljava/lang/ref/WeakReference;)V", "otpless-android-sdk_release"}, k = 1, mv = {1, 9, 0}, xi = 48)
    public static final class Companion {
        public Companion(DefaultConstructorMarker defaultConstructorMarker) {
            this();
        }

        @NotNull
        public final WeakReference<WhatsappOtpReaderImpl> getOtpReaderImpl$otpless_android_sdk_release() {
            return OtplessZeroTapReceiver.otpReaderImpl;
        }

        public final void setOtpReaderImpl$otpless_android_sdk_release(@NotNull WeakReference<WhatsappOtpReaderImpl> weakReference) {
            r.k(weakReference, "<set-?>");
            OtplessZeroTapReceiver.otpReaderImpl = weakReference;
        }

        private Companion() {
        }
    }

    @Override
    public void onReceive(@NotNull Context context, @NotNull Intent intent) {
        r.k(context, "context");
        r.k(intent, SDKConstants.PARAM_INTENT);
        Utility.debugLog("received zerotap broadcast from whatsapp");
        WhatsappOtpReaderImpl whatsappOtpReaderImpl = otpReaderImpl.get();
        if (whatsappOtpReaderImpl == null) {
            Utility.debugLog("weak callback reference expired");
            return;
        }
        ko.b incomingIntentHandler$otpless_android_sdk_release = whatsappOtpReaderImpl.getIncomingIntentHandler$otpless_android_sdk_release();
        h hVar = new h(whatsappOtpReaderImpl);
        i iVar = new i(whatsappOtpReaderImpl);
        incomingIntentHandler$otpless_android_sdk_release.getClass();
        ko.b.b(intent, hVar, iVar);
    }
}