花瓣 v4.6.12版本的 MD5 值为:6a3515d4d16d98931f1b3d25a91b257e
以下内容为反编译后的 a.java 源代码,内容仅作参考
package com.kwad.components.offline.adLive;
import android.content.Context;
import android.util.Log;
import androidx.annotation.NonNull;
import com.ksad.annotation.invoker.InvokeBy;
import com.kwad.components.core.l.e;
import com.kwad.components.offline.api.adLive.IAdLiveOfflineCompo;
import com.kwad.sdk.core.config.d;
import com.kwad.sdk.core.response.model.SdkConfigData;
import com.kwad.sdk.service.ServiceProvider;
public final class a extends com.kwad.components.core.offline.init.a {
public static final class C0541a {
private static final a Vj = new a((byte) 0);
}
private a() {
}
a(byte b) {
this();
}
@InvokeBy(invokerClass = com.kwad.components.core.offline.init.b.class, methodId = "initOC")
public static void aE(Context context) {
rB().init(context);
ServiceProvider.put(com.kwad.sdk.service.kwai.a.class, new c());
}
private static a rB() {
return C0541a.Vj;
}
@Override
public final boolean b(final Context context, ClassLoader classLoader) {
IAdLiveOfflineCompo iAdLiveOfflineCompo = (IAdLiveOfflineCompo) a(classLoader, IAdLiveOfflineCompo.IMPL);
if (iAdLiveOfflineCompo == null) {
com.kwad.sdk.core.e.b.d("AdLiveInitModule", "onPluginLoaded components is null");
return false;
}
String tag = getTag();
com.kwad.sdk.core.e.b.d(tag, "onOfflineComponentsLoaded components classLoader: " + iAdLiveOfflineCompo.getClass().getClassLoader());
final AdLiveCompoImpl adLiveCompoImpl = new AdLiveCompoImpl(iAdLiveOfflineCompo);
com.kwad.sdk.components.c.a(com.kwad.components.core.offline.api.kwai.a.class, adLiveCompoImpl);
iAdLiveOfflineCompo.initReal(context, ServiceProvider.Bt(), new b());
final SdkConfigData ub = d.ub();
if (ub != null) {
adLiveCompoImpl.onConfigRefresh(context, ub.toJson());
}
e.a(new e.a() {
@Override
public final void a(@NonNull SdkConfigData sdkConfigData) {
Log.d("AdLiveInitModule", "onConfigRefresh");
adLiveCompoImpl.onConfigRefresh(context, sdkConfigData.toJson());
}
@Override
public final void nO() {
Log.d("AdLiveInitModule", "onCacheLoaded");
SdkConfigData sdkConfigData = ub;
if (sdkConfigData != null) {
adLiveCompoImpl.onConfigRefresh(context, sdkConfigData.toJson());
}
}
});
return true;
}
@Override
public final String getTag() {
return "AdLiveInitModule";
}
@Override
public final boolean isEnabled() {
Log.d("AdLiveInitModule", "isEnabled: " + d.tX());
return d.tX();
}
@Override
public final String nK() {
return IAdLiveOfflineCompo.PACKAGE_NAME;
}
@Override
public final String nL() {
return "3.3.32.1";
}
@Override
public final String nM() {
return "https://static.yximgs.com/udata/pkg/KS-Android-KSAdSDk/offline_components/adLive/ks_so-adLiveNoSoRelease-3.3.32.1-f1f921211-59.zip";
}
@Override
public final String nN() {
return "4a5bc9a30d53edd85d5dcc58905afb0d";
}
}