导航菜单

页面标题

页面副标题

Perplexity v2.48.1 - GooglePayPaymentMethodLauncherActivity.java 源代码

正在查看: Perplexity v2.48.1 应用的 GooglePayPaymentMethodLauncherActivity.java JAVA 源代码文件

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


package com.stripe.android.googlepaylauncher;

import E3.b;
import G3.d;
import Ha.a;
import J3.n;
import al.C0630d;
import android.content.Intent;
import android.os.Bundle;
import androidx.lifecycle.k0;
import com.google.android.gms.internal.measurement.B1;
import com.google.android.gms.wallet.contract.TaskResultContracts;
import com.stripe.android.googlepaylauncher.GooglePayPaymentMethodLauncherActivity;
import g4.f;
import kotlin.LazyKt;
import kotlin.Metadata;
import kotlin.Pair;
import kotlin.jvm.functions.Function0;
import kotlin.jvm.internal.Intrinsics;
import kotlin.jvm.internal.Reflection;
import kotlin.jvm.internal.SourceDebugExtension;
import om.H;
import qj.C1347a;
import ri.AbstractC1378M;
import ri.C1377L;
import ri.C1381P;
import ri.C1383S;
import ri.C1385U;
import ri.C1388X;
import ri.C1394b0;

@Metadata(d1 = {"\u0000\f\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\b\u0003\b\u0001\u0018\u00002\u00020\u0001B\u0007¢\u0006\u0004\b\u0002\u0010\u0003¨\u0006\u0004"}, d2 = {"Lcom/stripe/android/googlepaylauncher/GooglePayPaymentMethodLauncherActivity;", "LJ3/n;", "<init>", "()V", "payments-core_release"}, k = 1, mv = {2, 1, 0}, xi = 48)
@SourceDebugExtension
public final class GooglePayPaymentMethodLauncherActivity extends n {
    public static final int X = 0;
    public final a x;
    public final C0630d y;
    public C1388X z;

    public GooglePayPaymentMethodLauncherActivity() {
        final int i = 0;
        this.x = new a(Reflection.a.b(C1394b0.class), new C1385U(this, 0), new Function0(this) {
            public final GooglePayPaymentMethodLauncherActivity x;

            {
                this.x = this;
            }

            @Override
            public final Object invoke() {
                ?? r0 = this.x;
                switch (i) {
                    case 0:
                        C1388X c1388x = r0.z;
                        if (c1388x != null) {
                            return new Ck.P(c1388x);
                        }
                        Intrinsics.n("args");
                        throw null;
                    default:
                        int i2 = GooglePayPaymentMethodLauncherActivity.X;
                        return C1347a.a(r0);
                }
            }
        }, new C1385U(this, 1));
        final int i2 = 1;
        this.y = LazyKt.a(new Function0(this) {
            public final GooglePayPaymentMethodLauncherActivity x;

            {
                this.x = this;
            }

            @Override
            public final Object invoke() {
                ?? r0 = this.x;
                switch (i2) {
                    case 0:
                        C1388X c1388x = r0.z;
                        if (c1388x != null) {
                            return new Ck.P(c1388x);
                        }
                        Intrinsics.n("args");
                        throw null;
                    default:
                        int i22 = GooglePayPaymentMethodLauncherActivity.X;
                        return C1347a.a(r0);
                }
            }
        });
    }

    public final void finish() {
        super/*android.app.Activity*/.finish();
        B1.H(this);
    }

    public final void h(AbstractC1378M abstractC1378M) {
        setResult(-1, new Intent().putExtras(f.s(new Pair[]{new Pair("extra_result", abstractC1378M)})));
        finish();
    }

    public final C1394b0 i() {
        return (C1394b0) this.x.getValue();
    }

    public final void onCreate(Bundle bundle) {
        super/*androidx.fragment.app.P*/.onCreate(bundle);
        B1.H(this);
        Intent intent = getIntent();
        Intrinsics.g(intent, "getIntent(...)");
        C1388X c1388x = (C1388X) intent.getParcelableExtra("extra_args");
        if (c1388x == null) {
            h(new C1377L(2, new RuntimeException("GooglePayPaymentMethodLauncherActivity was started without arguments.")));
            return;
        }
        this.z = c1388x;
        H.o(k0.h(this), null, null, new C1381P(this, null), 3);
        d registerForActivityResult = registerForActivityResult(new TaskResultContracts.GetPaymentDataResult(), new b(this, 6));
        if (Intrinsics.c(i().Z.b("has_launched"), Boolean.TRUE)) {
            return;
        }
        H.o(k0.h(this), null, null, new C1383S(this, registerForActivityResult, null), 3);
    }
}