JieJing Cleaner v1.4.2版本的 MD5 值为:a574eea9fb07160f0bbb08ba0adf1c62
以下内容为反编译后的 d.java 源代码,内容仅作参考
package com.kwad.sdk.collector;
import android.content.Context;
import android.text.TextUtils;
import com.anythink.expressad.foundation.d.p;
import com.kwad.sdk.KsAdSDKImpl;
import com.kwad.sdk.utils.AbiUtil;
import com.kwai.sodler.lib.ext.PluginError;
import com.kwai.sodler.lib.ext.b;
import java.util.concurrent.atomic.AtomicBoolean;
public class d {
public static final AtomicBoolean a = new AtomicBoolean(false);
public interface a {
void a();
void a(String str);
}
public static void a(Context context, final a aVar) {
if (a.get()) {
return;
}
if (KsAdSDKImpl.get().getIsExternal()) {
b(aVar);
return;
}
a.set(true);
boolean b = AbiUtil.b();
String str = b ? "kwappstatus-v8a" : "kwappstatus-v7a";
String ai = com.kwad.sdk.core.config.c.ai();
if (TextUtils.isEmpty(ai)) {
ai = "https://static.yximgs.com/udata/pkg/KS-Android-KSAdSDk/ks_so-appStatusArmeabiv7aRelease-3.3.14.apk";
}
String aj = com.kwad.sdk.core.config.c.aj();
if (TextUtils.isEmpty(aj)) {
aj = "https://static.yximgs.com/udata/pkg/KS-Android-KSAdSDk/ks_so-appStatusArm64v8aRelease-3.3.14.apk";
}
if (b) {
ai = aj;
}
String al = com.kwad.sdk.core.config.c.al();
if (TextUtils.isEmpty(al)) {
al = p.aH;
}
com.kwai.sodler.kwai.b.a(context);
com.kwai.sodler.lib.a.b bVar = new com.kwai.sodler.lib.a.b();
bVar.c = ai;
bVar.e = true;
bVar.a = str;
bVar.b = al;
bVar.g = false;
com.kwai.sodler.kwai.b.a(str, bVar, new b.a() {
@Override
public void a(com.kwai.sodler.lib.h hVar) {
super.a(hVar);
}
@Override
public void a(com.kwai.sodler.lib.h hVar, PluginError pluginError) {
super.a(hVar, pluginError);
if (a.this != null) {
a.this.a(pluginError == null ? "load error" : pluginError.toString());
}
}
@Override
public void a(com.kwai.sodler.lib.h hVar, com.kwai.sodler.lib.g gVar) {
super.a(hVar, gVar);
d.b(a.this);
}
});
}
public static void b(a aVar) {
try {
System.loadLibrary("kwappstatus");
} catch (Throwable th) {
com.kwad.sdk.core.d.a.b(th);
com.kwad.sdk.crash.a.a(th);
}
if (aVar != null) {
aVar.a();
}
}
}