正在查看: RummyCircle v11000.89 应用的 o.java JAVA 源代码文件
本页面展示 JAVA 反编译生成的源代码文件,支持语法高亮显示。 仅供安全研究与技术分析使用,严禁用于任何非法用途。请遵守相关法律法规。
正在查看: RummyCircle v11000.89 应用的 o.java JAVA 源代码文件
本页面展示 JAVA 反编译生成的源代码文件,支持语法高亮显示。 仅供安全研究与技术分析使用,严禁用于任何非法用途。请遵守相关法律法规。
package com.paytm.pgsdk;
import android.app.Activity;
import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;
import android.os.Bundle;
import android.text.TextUtils;
import java.util.HashMap;
public final class o {
public final i a;
public final c b;
public final a c = new a();
public final boolean d = true;
public class a extends BroadcastReceiver {
public a() {
}
@Override
public final void onReceive(Context context, Intent intent) {
boolean equals = "user_match_result_action".equals(intent.getAction());
o oVar = o.this;
if (equals) {
androidx.localbroadcastmanager.content.a.a(context.getApplicationContext()).d(oVar.c);
intent.getBooleanExtra("user_matches", false);
} else if ("user_login_status_action".equalsIgnoreCase(intent.getAction())) {
androidx.localbroadcastmanager.content.a.a(context.getApplicationContext()).d(oVar.c);
if (!intent.getBooleanExtra("feature_available_in_app", false)) {
throw null;
}
intent.getBooleanExtra("user_logged_in", false);
}
}
}
public o(c cVar, i iVar) {
if (cVar == null) {
throw new IllegalArgumentException("Transaction params cannot be null");
}
this.a = iVar;
this.b = cVar;
}
public static String a(Context context) {
try {
return context.getPackageManager().getPackageInfo("net.one97.paytm", 0).versionName;
} catch (Exception e) {
com.paytm.pgsdk.a.b().c("AppInvoke", e.getMessage());
j.a("Paytm app not installed");
return null;
}
}
public static int c(String str, String str2) {
if (TextUtils.isEmpty(str) || TextUtils.isEmpty(str2)) {
return 1;
}
String[] split = str.split("\\.");
String[] split2 = str2.split("\\.");
int i = 0;
while (i < split.length && i < split2.length && split[i].equalsIgnoreCase(split2[i])) {
i++;
}
return (i >= split.length || i >= split2.length) ? Integer.signum(split.length - split2.length) : Integer.signum(Integer.valueOf(split[i]).compareTo(Integer.valueOf(split2[i])));
}
public final void b(Context context) {
f c;
c cVar = this.b;
synchronized (f.class) {
HashMap<String, String> hashMap = cVar.a;
TextUtils.isEmpty("https://securegw.paytm.in/theia/api/v1/showPaymentPage");
String str = hashMap.get("ORDER_ID");
String str2 = hashMap.get("MID");
c = f.c();
c.b = "https://securegw.paytm.in/theia/api/v1/showPaymentPage?mid=" + str2 + "&orderId=" + str;
n.a().getClass();
}
c cVar2 = this.b;
synchronized (c) {
c.a = cVar2;
if (c.a.a != null) {
c.e = c.a.a.get("MID");
c.f = c.a.a.get("ORDER_ID");
c.g = c.a.a.get("TXN_TOKEN");
}
}
c.h = this.d;
i iVar = this.a;
synchronized (c) {
try {
try {
f.a(context);
if (!j.c(context)) {
c.e();
iVar.networkNotAvailable();
} else if (c.c) {
j.a("Service is already running.");
} else {
Bundle bundle = new Bundle();
bundle.putString("mid", c.e);
bundle.putString("orderId", c.f);
bundle.putString("txnToken", c.g);
j.a("Starting the Service...");
Intent intent = new Intent(context, (Class<?>) PaytmPGActivity.class);
intent.putExtra("mid", c.e);
intent.putExtra("orderId", c.f);
intent.putExtra("Parameters", bundle);
intent.putExtra("HIDE_HEADER", true);
intent.putExtra("IS_ENABLE_ASSIST", c.h);
c.c = true;
c.d = iVar;
n.a().a = iVar;
((Activity) context).startActivity(intent);
j.a("Service Started.");
}
} catch (Exception e) {
com.paytm.pgsdk.a.b().c("Redirection", e.getMessage());
c.e();
j.e(e);
}
} catch (Throwable th) {
throw th;
}
}
}
}