正在查看: Perplexity v2.48.1 应用的 FinancialConnectionsSheetLiteActivity.java JAVA 源代码文件
本页面展示 JAVA 反编译生成的源代码文件,支持语法高亮显示。 仅供安全研究与技术分析使用,严禁用于任何非法用途。请遵守相关法律法规。
正在查看: Perplexity v2.48.1 应用的 FinancialConnectionsSheetLiteActivity.java JAVA 源代码文件
本页面展示 JAVA 反编译生成的源代码文件,支持语法高亮显示。 仅供安全研究与技术分析使用,严禁用于任何非法用途。请遵守相关法律法规。
package com.stripe.android.financialconnections.lite;
import Ha.a;
import android.content.Intent;
import android.os.Bundle;
import android.webkit.WebView;
import android.widget.ProgressBar;
import androidx.activity.ComponentActivity;
import androidx.lifecycle.k0;
import ek.J;
import fh.f;
import i3.Z;
import ii.AbstractC0880d;
import ii.C0877a;
import ii.C0878b;
import ii.C0879c;
import ji.C0908m;
import ji.C0909n;
import ji.p;
import kotlin.Metadata;
import kotlin.NoWhenBranchMatchedException;
import kotlin.jvm.internal.Intrinsics;
import kotlin.jvm.internal.Reflection;
import kotlin.jvm.internal.SourceDebugExtension;
import om.H;
@Metadata(d1 = {"\u0000\f\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\b\u0003\b\u0000\u0018\u00002\u00020\u0001B\u0007¢\u0006\u0004\b\u0002\u0010\u0003¨\u0006\u0004"}, d2 = {"Lcom/stripe/android/financialconnections/lite/FinancialConnectionsSheetLiteActivity;", "Landroidx/activity/ComponentActivity;", "<init>", "()V", "financial-connections-lite_release"}, k = 1, mv = {2, 1, 0}, xi = 48)
@SourceDebugExtension
public final class FinancialConnectionsSheetLiteActivity extends ComponentActivity {
public static final int X = 0;
public WebView x;
public ProgressBar y;
public final a z;
public FinancialConnectionsSheetLiteActivity() {
super(2131625281);
this.z = new a(Reflection.a.b(C0908m.class), new p(this, 0), new Z(28), new p(this, 1));
}
public final void onCreate(Bundle bundle) {
int i;
super.onCreate(bundle);
setContentView(2131625281);
this.x = (WebView) findViewById(2131428269);
this.y = (ProgressBar) findViewById(2131428054);
Intent intent = getIntent();
Intrinsics.g(intent, "getIntent(...)");
AbstractC0880d abstractC0880d = (AbstractC0880d) intent.getParcelableExtra("FinancialConnectionsSheetActivityArgs");
if (abstractC0880d == null || (abstractC0880d instanceof C0877a) || (abstractC0880d instanceof C0879c)) {
i = 2131101143;
} else {
if (!(abstractC0880d instanceof C0878b)) {
throw new NoWhenBranchMatchedException();
}
i = 2131101145;
}
int color = getColor(i);
ProgressBar progressBar = this.y;
if (progressBar == null) {
Intrinsics.n("progressBar");
throw null;
}
progressBar.getProgressDrawable().setTint(color);
ProgressBar progressBar2 = this.y;
if (progressBar2 == null) {
Intrinsics.n("progressBar");
throw null;
}
progressBar2.getIndeterminateDrawable().setTint(color);
ProgressBar progressBar3 = this.y;
if (progressBar3 == null) {
Intrinsics.n("progressBar");
throw null;
}
progressBar3.setVisibility(0);
WebView webView = this.x;
if (webView == null) {
Intrinsics.n("webView");
throw null;
}
webView.getSettings().setJavaScriptEnabled(true);
webView.getSettings().setUseWideViewPort(true);
webView.getSettings().setLoadWithOverviewMode(true);
webView.setWebChromeClient(new f(this, 2));
webView.setWebViewClient(new J(this));
getOnBackPressedDispatcher().a(this, new D3.J(this, 3));
H.o(k0.h(this), null, null, new C0909n(this, null), 3);
}
}