整点视频 v3.3.0版本的 MD5 值为:cba0457dc37421eed445b30f92de25d3
以下内容为反编译后的 g.java 源代码,内容仅作参考
package com.kwad.sdk.crash;
import android.content.Context;
import android.text.TextUtils;
import androidx.annotation.NonNull;
import androidx.annotation.Nullable;
import com.kwad.library.solder.lib.ext.PluginError;
import com.kwad.library.solder.lib.ext.b;
import com.kwad.sdk.utils.AbiUtil;
import java.util.concurrent.atomic.AtomicBoolean;
public final class g {
private static final AtomicBoolean aFJ = new AtomicBoolean(false);
public interface a {
void Hl();
void Hm();
}
public static void a(@NonNull c cVar, a aVar) {
String str;
String str2;
String str3;
AtomicBoolean atomicBoolean = aFJ;
if (atomicBoolean.get()) {
aVar.Hl();
} else if (cVar.sdkVersion.compareTo(cVar.aFm) < 0) {
com.kwad.sdk.core.e.c.d("ExceptionSoLoadHelper", "sdkVersion:" + cVar.sdkVersion + "*supportAppVersion:" + cVar.aFm);
aVar.Hm();
} else {
Context context = cVar.context;
atomicBoolean.set(true);
if (AbiUtil.isArm64(context)) {
str = cVar.aFp;
if (TextUtils.isEmpty(str)) {
str = "https://p1-lm.adkwai.com/udata/pkg/KS-Android-KSAdSDk/so/exception/202305301754/ks_so-exceptionArm64v8aRelease-3.3.47-e8fbb3a5f8-666.apk";
}
str2 = cVar.aFr;
str3 = "exception-v8a";
} else {
str = cVar.aFq;
if (TextUtils.isEmpty(str)) {
str = "https://p1-lm.adkwai.com/udata/pkg/KS-Android-KSAdSDk/so/exception/202305301754/ks_so-exceptionArmeabiv7aRelease-3.3.47-e8fbb3a5f8-666.apk";
}
str2 = cVar.aFs;
str3 = "exception-v7a";
}
com.kwad.library.solder.lib.c.b bVar = new com.kwad.library.solder.lib.c.b();
bVar.akc = com.kwad.sdk.core.network.idc.a.DS().dU(str);
bVar.Jd = true;
bVar.akb = str3;
bVar.version = cVar.aFl;
bVar.ake = str2;
bVar.akf = false;
a(context, bVar, aVar);
}
}
private static void a(Context context, com.kwad.library.solder.lib.c.b bVar, @Nullable final a aVar) {
com.kwad.library.solder.a.a.a(context, bVar, new b.c() {
private void HB() {
com.kwad.sdk.core.e.c.d("ExceptionSoLoadHelper", "onFail thread=" + Thread.currentThread().getName());
a aVar2 = a.this;
if (aVar2 != null) {
aVar2.Hm();
}
}
@Override
public void d(com.kwad.library.solder.lib.b.c cVar) {
super.d(cVar);
com.kwad.sdk.core.e.c.d("ExceptionSoLoadHelper", "onPostUpdate thread=" + Thread.currentThread().getName());
}
private void tG() {
com.kwad.sdk.core.e.c.d("ExceptionSoLoadHelper", "onPostLoad");
a aVar2 = a.this;
if (aVar2 != null) {
aVar2.Hl();
}
}
@Override
public final void a(com.kwad.library.solder.lib.a.e eVar, com.kwad.library.solder.lib.a.a aVar2) {
tG();
}
@Override
public final void a(com.kwad.library.solder.lib.a.e eVar, PluginError pluginError) {
HB();
}
@Override
public void f(com.kwad.library.solder.lib.b.c cVar) {
super.f(cVar);
com.kwad.sdk.core.e.c.d("ExceptionSoLoadHelper", "onCanceled thread=" + Thread.currentThread().getName());
}
});
}
}