正在查看: MX Player v1.97.8 应用的 JuspayActivity.java JAVA 源代码文件
本页面展示 JAVA 反编译生成的源代码文件,支持语法高亮显示。 仅供安全研究与技术分析使用,严禁用于任何非法用途。请遵守相关法律法规。
正在查看: MX Player v1.97.8 应用的 JuspayActivity.java JAVA 源代码文件
本页面展示 JAVA 反编译生成的源代码文件,支持语法高亮显示。 仅供安全研究与技术分析使用,严禁用于任何非法用途。请遵守相关法律法规。
package com.mxtech.payment.juspay.ui;
import android.os.Bundle;
import android.view.View;
import android.view.ViewGroup;
import com.facebook.shimmer.ShimmerFrameLayout;
import com.mxtech.payment.juspay.dto.JuspayPaymentData;
import defpackage.cs9;
import defpackage.ds9;
import defpackage.fs9;
import defpackage.mj8;
import defpackage.o41;
import defpackage.t1b;
import defpackage.vdd;
import defpackage.ydd;
import defpackage.z1b;
import in.juspay.services.HyperServices;
import java.util.HashMap;
import kotlin.Metadata;
import kotlin.Unit;
import org.jetbrains.annotations.NotNull;
@Metadata(d1 = {"\u0000\u0010\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0002\b\u0003\u0018\u00002\u00020\u00012\u00020\u0002B\u0007¢\u0006\u0004\b\u0003\u0010\u0004¨\u0006\u0005"}, d2 = {"Lcom/mxtech/payment/juspay/ui/JuspayActivity;", "Lo41;", "", "<init>", "()V", "pay-juspay_release"}, k = 1, mv = {2, 0, 0}, xi = 48)
public final class JuspayActivity extends o41 {
public static fs9 g;
public ViewGroup b;
public JuspayPaymentData c;
public long d;
public ShimmerFrameLayout f;
@Override
public final mj8 U5() {
return g;
}
public final void W5() {
View view = this.f;
if (view == null) {
view = null;
}
view.setVisibility(8);
HashMap hashMap = new HashMap();
hashMap.put("screenLoadTimeInMs", Long.valueOf(System.currentTimeMillis() - this.d));
Unit unit = Unit.INSTANCE;
vdd vddVar = new vdd("JuspayPaymentScreenViewed", hashMap);
String str = t1b.c;
t1b c = t1b.a.c(t1b.c);
if (c != null) {
z1b z1bVar = c.a;
ydd yddVar = z1bVar.p;
String str2 = yddVar != null ? yddVar.c : null;
if (str2 != null && str2.length() != 0) {
hashMap.put("txnId", str2);
}
z1bVar.f(vddVar);
}
}
public final void onBackPressed() {
cs9 cs9Var = cs9.a;
HyperServices hyperServices = cs9.b.b;
if (hyperServices != null) {
hyperServices.onBackPressed();
}
}
public final void onCreate(Bundle bundle) {
super/*androidx.fragment.app.m*/.onCreate(bundle);
setContentView(2131558475);
this.d = System.currentTimeMillis();
this.b = (ViewGroup) findViewById(2131364438);
this.f = findViewById(2131365952);
JuspayPaymentData juspayPaymentData = (JuspayPaymentData) getIntent().getParcelableExtra("pay_juspay_data");
if (juspayPaymentData == null) {
throw new RuntimeException("payment data cannot be null");
}
this.c = juspayPaymentData;
if (bundle != null && bundle.getBoolean("payment_started", false)) {
R5(103, "Activity Restart", null);
return;
}
try {
cs9 cs9Var = cs9.a;
cs9.b.c = this;
ViewGroup viewGroup = this.b;
if (viewGroup == null) {
viewGroup = null;
}
JuspayPaymentData juspayPaymentData2 = this.c;
if (juspayPaymentData2 == null) {
juspayPaymentData2 = null;
}
cs9Var.a(this, viewGroup, juspayPaymentData2.b);
} catch (Exception e) {
String message = e.getMessage();
if (message == null) {
message = "SDK ERROR";
}
R5(104, message, null);
}
}
public final void onDestroy() {
super.onDestroy();
cs9 cs9Var = cs9.a;
ds9 ds9Var = cs9.b;
ds9Var.c = null;
HyperServices hyperServices = ds9Var.b;
if (hyperServices != null) {
hyperServices.resetActivity(this);
}
}
public final void onSaveInstanceState(@NotNull Bundle bundle) {
super/*ub3*/.onSaveInstanceState(bundle);
bundle.putBoolean("payment_started", true);
}
}