正在查看: 95爱播免登录版 v3.1.9 应用的 y.java JAVA 源代码文件
本页面展示 JAVA 反编译生成的源代码文件,支持语法高亮显示。 仅供安全研究与技术分析使用,严禁用于任何非法用途。请遵守相关法律法规。
正在查看: 95爱播免登录版 v3.1.9 应用的 y.java JAVA 源代码文件
本页面展示 JAVA 反编译生成的源代码文件,支持语法高亮显示。 仅供安全研究与技术分析使用,严禁用于任何非法用途。请遵守相关法律法规。
package com.mobile.auth.k;
import android.content.Context;
import android.content.SharedPreferences;
import android.os.Bundle;
import android.text.TextUtils;
import org.json.JSONObject;
public class y {
private static volatile boolean a;
public static String a(String str) {
return q.b(str, "");
}
public static void a(Context context, Bundle bundle) {
if (a) {
g.a("UmcConfigUtil", "正在获取配置中...");
} else {
a = true;
com.mobile.auth.h.a.a(context).a(bundle.getBoolean("isNeedToGetCert", true), bundle, new com.mobile.auth.h.b() {
@Override
public void a(String str, String str2, JSONObject jSONObject) {
try {
if ("103000".equals(str)) {
y.b(jSONObject);
}
} catch (Exception e2) {
e2.printStackTrace();
}
boolean unused = y.a = false;
}
});
}
}
private static void a(JSONObject jSONObject, String str, String str2, SharedPreferences.Editor editor) {
if (jSONObject.has(str)) {
editor.putString(str, jSONObject.optString(str, str2));
}
}
public static boolean a() {
return System.currentTimeMillis() >= q.b("client_valid", 0L);
}
public static void b(org.json.JSONObject r18) {
throw new UnsupportedOperationException("Method not decompiled: com.mobile.auth.k.y.b(org.json.JSONObject):void");
}
public static boolean b() {
return "1".equals(q.b("CLOSE_IPV4_LIST", "0"));
}
public static boolean c() {
return "1".equals(q.b("CLOSE_IPV6_LIST", "0"));
}
public static boolean d() {
return "1".equals(q.b("CLOSE_M001_SDKVERSION_LIST", "0")) || "1".equals(q.b("CLOSE_M001_APPID_LIST", "0")) || "1".equals(q.b("CLOSE_M005_APPID_LIST", "0")) || "1".equals(q.b("CLOSE_M005_SDKVERSION_LIST", "0"));
}
public static String e() {
String b = q.b("httpHost", (String) null);
if (TextUtils.isEmpty(b)) {
return "http://onekey.cmpassport.com/unisdk/";
}
return "http://" + b + "/unisdk/";
}
public static String f() {
String b = q.b("httpsHost", (String) null);
if (TextUtils.isEmpty(b)) {
return "https://onekey.cmpassport.com:443/unisdk/";
}
return "https://" + b + "/unisdk/";
}
public static String g() {
String b = q.b("logHost", "");
if (TextUtils.isEmpty(b)) {
return "https://log1.cmpassport.com:9443/log/logReport";
}
return "https://" + b + "/log/logReport";
}
public static boolean h() {
return "1".equals(q.b("CLOSE_CERT_VERIFY", "1"));
}
public static boolean i() {
return q.b("CLOSE_FRIEND_WAPKS", "").contains("CU");
}
public static boolean j() {
return q.b("CLOSE_FRIEND_WAPKS", "").contains("CT");
}
public static boolean k() {
return "1".equals(q.b("CLOSE_LOGS_VERSION", "0"));
}
public static int l() {
return q.a("maxFailedLogTimes", 0);
}
public static int m() {
return q.a("pauseTime", 0) * 60 * 60 * 1000;
}
}