我要上王者 v1.1版本的 MD5 值为:b7d3566522def961cabeb92cb17f5db9
以下内容为反编译后的 u.java 源代码,内容仅作参考
package com.kwad.sdk.api.loader;
import android.content.Context;
import android.text.TextUtils;
import com.kwad.sdk.api.core.IKsAdSDK;
import com.kwad.sdk.api.loader.m;
import com.umeng.analytics.pro.ai;
import java.util.concurrent.atomic.AtomicBoolean;
public final class u {
private static final AtomicBoolean amb = new AtomicBoolean();
static String access$000() {
return yZ();
}
public static void a(final Context context, final IKsAdSDK iKsAdSDK) {
if (com.kwad.sdk.api.c.yM()) {
return;
}
AtomicBoolean atomicBoolean = amb;
if (atomicBoolean.get() || context == null || iKsAdSDK == null) {
return;
}
atomicBoolean.set(true);
com.kwad.sdk.api.a.a.submit(new Runnable() {
@Override
public final void run() {
try {
if (Math.abs(System.currentTimeMillis() - t.x(context, "lastUpdateTime")) < t.x(context, ai.aR) * 1000) {
return;
}
m.yX().a(new v() {
@Override
public final Context getContext() {
return context;
}
@Override
public final String za() {
return u.access$000();
}
@Override
public final IKsAdSDK zb() {
return iKsAdSDK;
}
}, new m.c<Boolean>() {
@Override
public final void g(Boolean bool) {
c(bool);
}
private static void c(Boolean bool) {
new StringBuilder("onNewResult: ").append(bool);
}
});
} catch (Throwable unused) {
}
}
});
}
public static void aI(Context context) {
g.m(context, "");
}
private static String yZ() {
String bO = com.kwad.sdk.api.c.bO("https://open.e.kuaishou.com/rest/e/v3/open/sdk2");
return !TextUtils.isEmpty(bO) ? bO : "https://open.e.kuaishou.com/rest/e/v3/open/sdk2";
}
}