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

以下内容为反编译后的 OnfidoImpl$handleActivityResult$corruptedResultCallback$1.java 源代码,内容仅作参考


package com.onfido.android.sdk.capture;

import android.content.Intent;
import com.onfido.android.sdk.capture.Onfido;
import com.onfido.android.sdk.capture.errors.OnfidoException;
import kotlin.Metadata;
import kotlin.Unit;
import kotlin.jvm.functions.Function0;
import mdi.sdk.sl2;

@Metadata(bv = {1, 0, 3}, d1 = {"\u0000\b\n\u0002\u0010\u0002\n\u0002\b\u0003\u0010\u0003\u001a\u00020\u0000H\n¢\u0006\u0004\b\u0001\u0010\u0002"}, d2 = {"", "invoke", "()V", "<anonymous>"}, k = 3, mv = {1, 4, 0})
final class OnfidoImpl$handleActivityResult$corruptedResultCallback$1 extends sl2 implements Function0<Unit> {
    final Onfido.OnfidoResultListener $callback;
    final Intent $intent;
    final int $resultCode;

    public OnfidoImpl$handleActivityResult$corruptedResultCallback$1(Onfido.OnfidoResultListener onfidoResultListener, Intent intent, int i) {
        super(0);
        this.$callback = onfidoResultListener;
        this.$intent = intent;
        this.$resultCode = i;
    }

    @Override
    public Unit invoke() {
        invoke2();
        return Unit.a;
    }

    public final void invoke2() {
        String str;
        Onfido.OnfidoResultListener onfidoResultListener = this.$callback;
        StringBuilder sb = new StringBuilder();
        sb.append("Unexpected result Intent. It might be a result of incorrect integration, make sure you only pass Onfido intent to handle");
        sb.append("ActivityResult. It might be due to unpredictable crash or error. Please report the problem to android-sdk@onfido.com. Intent: ");
        Intent intent = this.$intent;
        if (intent == null || (str = intent.toString()) == null) {
            str = "null";
        }
        sb.append(str);
        sb.append(" \n resultCode: ");
        sb.append(this.$resultCode);
        onfidoResultListener.onError(new OnfidoException(sb.toString()));
    }
}