导航菜单

页面标题

页面副标题

XT工具箱 v3.6.15 - a.java 源代码

正在查看: XT工具箱 v3.6.15 应用的 a.java JAVA 源代码文件

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


package a.a.f.c;

import a.a.f.j.f;
import android.content.Context;
import android.text.TextUtils;
import org.json.JSONObject;

public final class a {

    public static a f209c;

    public int f210a = 3500;

    public String f211b = "http://h5.m.taobao.com/trade/paySuccess.html?bizOrderId=$OrderId$&";

    public static a c() {
        if (f209c == null) {
            a aVar = new a();
            f209c = aVar;
            String c2 = f.c(a.a.f.h.b.a().f241a, "alipay_cashier_dynamic_config", null);
            if (!TextUtils.isEmpty(c2)) {
                try {
                    JSONObject jSONObject = new JSONObject(c2);
                    aVar.f210a = jSONObject.optInt("timeout", 3500);
                    aVar.f211b = jSONObject.optString("tbreturl", "http://h5.m.taobao.com/trade/paySuccess.html?bizOrderId=$OrderId$&").trim();
                } catch (Throwable unused) {
                }
            }
        }
        return f209c;
    }

    public final int a() {
        int i = this.f210a;
        if (i < 1000 || i > 20000) {
            return 3500;
        }
        new StringBuilder("DynamicConfig::getJumpTimeout >").append(this.f210a);
        return this.f210a;
    }

    public final void b(Context context) {
        new Thread(new b(this, context)).start();
    }
}