JieJing Cleaner v1.4.2版本的 MD5 值为:a574eea9fb07160f0bbb08ba0adf1c62
以下内容为反编译后的 e.java 源代码,内容仅作参考
package com.kwad.sdk.core.video.kwai;
import android.content.Context;
import android.text.TextUtils;
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 com.kwai.sodler.lib.g;
import com.kwai.sodler.lib.h;
import com.kwai.video.ksvodplayerkit.KSVodPlayerCoreInitConfig;
import java.util.concurrent.atomic.AtomicBoolean;
public class e {
public static final AtomicBoolean a = new AtomicBoolean(false);
public static AtomicBoolean b;
public static void a(Context context) {
com.kwad.sdk.core.d.a.a("kp init");
KSVodPlayerCoreInitConfig.updatePlayerConfig(com.kwad.sdk.core.config.c.l());
if (!b()) {
d(context);
}
c(context);
}
public static boolean a() {
AtomicBoolean atomicBoolean = b;
if (atomicBoolean != null) {
return atomicBoolean.get();
}
AtomicBoolean atomicBoolean2 = new AtomicBoolean(true);
b = atomicBoolean2;
return atomicBoolean2.get();
}
public static boolean b() {
return a.get() || KsAdSDKImpl.get().getIsExternal() || com.kwad.sdk.b.e.booleanValue();
}
public static void c(Context context) {
try {
d.a(context);
} catch (Throwable th) {
com.kwad.sdk.core.d.a.b(th);
}
}
public static void d(final Context context) {
String D;
String str;
if (AbiUtil.b()) {
D = com.kwad.sdk.core.config.c.E();
if (TextUtils.isEmpty(D)) {
D = "https://static.yximgs.com/udata/pkg/KS-Android-KSAdSDk/so/ks_so-kwaiPlayerArm64v8aRelease-3.3.20.apk";
}
str = "kwaiplayer-v8a";
} else {
D = com.kwad.sdk.core.config.c.D();
if (TextUtils.isEmpty(D)) {
D = "https://static.yximgs.com/udata/pkg/KS-Android-KSAdSDk/so/ks_so-kwaiPlayerArmeabiv7aRelease-3.3.20.apk";
}
str = "kwaiplayer-v7a";
}
com.kwai.sodler.kwai.b.a(context);
com.kwai.sodler.lib.a.b bVar = new com.kwai.sodler.lib.a.b();
bVar.c = D;
bVar.e = true;
bVar.a = str;
bVar.b = "3.4";
bVar.g = true;
com.kwai.sodler.kwai.b.a(str, bVar, new b.a() {
@Override
public void a(h hVar) {
super.a(hVar);
e.a.set(false);
}
@Override
public void a(h hVar, PluginError pluginError) {
e.a.set(false);
}
@Override
public void a(h hVar, g gVar) {
e.a.set(true);
e.c(context);
e.e();
}
@Override
public void b(h hVar) {
super.b(hVar);
}
});
}
public static void e() {
}
}