- Added realracing3-community.apk (71.57 MB) - Removed 32-bit support (armeabi-v7a) - Only includes arm64-v8a libraries - Decompiled source code included - Added README-community.md with analysis
75 lines
2.3 KiB
Java
75 lines
2.3 KiB
Java
package com.mbridge.msdk.splash.d;
|
|
|
|
import android.text.TextUtils;
|
|
import com.mbridge.msdk.foundation.entity.CampaignEx;
|
|
import com.mbridge.msdk.foundation.same.report.i;
|
|
import com.mbridge.msdk.out.MBSplashLoadListener;
|
|
import com.mbridge.msdk.out.MBridgeIds;
|
|
import java.util.ArrayList;
|
|
|
|
/* loaded from: classes4.dex */
|
|
public final class b {
|
|
private MBSplashLoadListener a;
|
|
private c b;
|
|
private String c;
|
|
private String d;
|
|
private MBridgeIds e;
|
|
|
|
public final void a(MBSplashLoadListener mBSplashLoadListener) {
|
|
this.a = mBSplashLoadListener;
|
|
}
|
|
|
|
public final void a(String str) {
|
|
this.d = str;
|
|
}
|
|
|
|
public b(c cVar, MBridgeIds mBridgeIds) {
|
|
this.b = cVar;
|
|
this.e = mBridgeIds;
|
|
if (mBridgeIds != null) {
|
|
this.c = mBridgeIds.getUnitId();
|
|
}
|
|
}
|
|
|
|
public final void a(CampaignEx campaignEx, int i) {
|
|
c cVar;
|
|
c cVar2 = this.b;
|
|
if (cVar2 == null || !cVar2.a() || campaignEx == null) {
|
|
return;
|
|
}
|
|
MBSplashLoadListener mBSplashLoadListener = this.a;
|
|
if (mBSplashLoadListener != null) {
|
|
mBSplashLoadListener.onLoadSuccessed(this.e, i);
|
|
this.a.isSupportZoomOut(this.e, campaignEx.getFlb() == 1);
|
|
}
|
|
this.b.a(false);
|
|
ArrayList arrayList = new ArrayList();
|
|
arrayList.add(campaignEx);
|
|
i.a(com.mbridge.msdk.foundation.controller.c.m().c(), arrayList, this.c, campaignEx.isBidCampaign());
|
|
if (i != 2 || (cVar = this.b) == null) {
|
|
return;
|
|
}
|
|
cVar.a(campaignEx, 0, true);
|
|
}
|
|
|
|
public final void a(com.mbridge.msdk.foundation.c.b bVar, int i) {
|
|
c cVar = this.b;
|
|
if (cVar == null || !cVar.a()) {
|
|
return;
|
|
}
|
|
String str = "";
|
|
if (bVar != null) {
|
|
String b = bVar.b();
|
|
if (!TextUtils.isEmpty(b)) {
|
|
str = b;
|
|
}
|
|
}
|
|
MBSplashLoadListener mBSplashLoadListener = this.a;
|
|
if (mBSplashLoadListener != null) {
|
|
mBSplashLoadListener.onLoadFailed(this.e, str, i);
|
|
}
|
|
this.b.a(false);
|
|
i.a(com.mbridge.msdk.foundation.controller.c.m().c(), str, this.c, !TextUtils.isEmpty(this.d), bVar != null ? bVar.c() : null);
|
|
}
|
|
}
|