Luno v7.28.0版本的 MD5 值为:08d81b3b88ef7df48c89cb5d56dc11a2

以下内容为反编译后的 d4.java 源代码,内容仅作参考


package com.plaid.internal;

import android.app.Activity;
import android.app.Application;
import com.plaid.internal.f8;
import com.plaid.internal.link.LinkActivity;
import com.plaid.link.Plaid;
import com.plaid.link.exception.LinkException;
import com.plaid.link.result.LinkError;
import com.plaid.link.result.LinkExit;
import java.lang.ref.WeakReference;
import java.util.List;
import mdi.sdk.gy;
import mdi.sdk.w32;

public final class d4 implements n8 {
    public final g1 a;
    public final List<String> b;

    public d4(Application application) {
        List<String> e;
        w32.h(application, "application");
        g1 g1Var = new g1();
        this.a = g1Var;
        e = gy.e(LinkActivity.class.getName());
        this.b = e;
        application.registerActivityLifecycleCallbacks(g1Var);
    }

    @Override
    public boolean a(Throwable th) {
        LinkError fromException$link_sdk_release;
        w32.h(th, "throwable");
        Activity activity = this.a.a.get();
        if (activity == null || !this.b.contains(activity.getClass().getName())) {
            return false;
        }
        Plaid plaid = Plaid.INSTANCE;
        if (th instanceof p3) {
            f8.a.a(f8.a, th, false, 2, (Object) null);
            fromException$link_sdk_release = LinkError.INSTANCE.fromException$link_sdk_release(new LinkException("Link has exited unexpectedly please report this to support via https://dashboard.plaid.com/support with the session id if it persists"));
        } else {
            fromException$link_sdk_release = LinkError.INSTANCE.fromException$link_sdk_release(th);
        }
        plaid.setLinkResultAndFinish$link_sdk_release(activity, 6148, new LinkExit(fromException$link_sdk_release, null, 2, null));
        g1 g1Var = this.a;
        WeakReference<Activity> weakReference = new WeakReference<>(null);
        g1Var.getClass();
        w32.h(weakReference, "<set-?>");
        g1Var.a = weakReference;
        return true;
    }
}