我要上王者 v1.1版本的 MD5 值为:b7d3566522def961cabeb92cb17f5db9
以下内容为反编译后的 b.java 源代码,内容仅作参考
package com.kwad.components.offline.b;
import android.content.Context;
import com.kwad.components.core.request.g;
import com.kwad.components.offline.api.InitCallBack;
import com.kwad.components.offline.api.obiwan.IObiwanOfflineCompo;
import com.kwad.sdk.core.response.model.SdkConfigData;
public final class b extends com.kwad.components.core.n.b.a<IObiwanOfflineCompo> {
@Override
public final String getTag() {
return "ObiwanInitModule";
}
@Override
public final int on() {
return 3;
}
@Override
public final String oo() {
return IObiwanOfflineCompo.PACKAGE_NAME;
}
@Override
public final String op() {
return "3.3.44";
}
@Override
public final String oq() {
return "https://p1-lm.adkwai.com/udata/pkg/KS-Android-KSAdSDk/offline_components/obiwan/ks_so-obiwanNoSoRelease-3.3.44-d884574fc8-340.zip";
}
@Override
public final String or() {
return "d945ab0533c29de4146475cc3b8cc310";
}
@Override
public final String os() {
return "ks_obiwan_3344";
}
@Override
public final String ot() {
return IObiwanOfflineCompo.IMPL;
}
b(byte b2) {
this();
}
@Override
public final void a(Context context, boolean z, IObiwanOfflineCompo iObiwanOfflineCompo) {
a(context, iObiwanOfflineCompo);
}
public static final class a {
private static final b abY = new b((byte) 0);
}
private static b ti() {
return a.abY;
}
private b() {
}
public static void an(Context context) {
ti().init(context);
}
@Override
public final boolean isEnabled() {
return ((Boolean) com.kwad.sdk.core.config.d.b(com.kwad.sdk.core.config.c.apo)).booleanValue();
}
private void a(Context context, final IObiwanOfflineCompo iObiwanOfflineCompo) {
iObiwanOfflineCompo.init(context, new d(), new InitCallBack() {
@Override
public final void onSuccess(boolean z) {
final com.kwad.components.offline.b.a aVar = new com.kwad.components.offline.b.a(iObiwanOfflineCompo);
com.kwad.sdk.components.c.a(com.kwad.components.core.n.a.b.a.class, aVar);
com.kwad.sdk.core.e.c.a(new c(aVar.getLog()));
b.this.om();
g.b(new g.a() {
@Override
public final void pS() {
updateConfigs();
}
@Override
public final void a(SdkConfigData sdkConfigData) {
updateConfigs();
}
private void updateConfigs() {
com.kwad.sdk.core.e.c.a(com.kwad.sdk.core.config.d.a(com.kwad.sdk.core.config.c.apo) ? new c(aVar.getLog()) : null);
aVar.updateConfigs();
}
});
}
});
}
}