Files
Daniel Elliott f9d20bb3fc Add decompiled APK source code (JADX)
- 28,932 files
- Full Java source code
- Smali files
- Resources

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-02-18 14:52:23 -08:00

147 lines
6.0 KiB
Java

package com.fyber.inneractive.sdk.flow;
import com.fyber.inneractive.sdk.config.enums.UnitDisplayType;
import com.fyber.inneractive.sdk.external.InneractiveAdRequest;
import com.fyber.inneractive.sdk.external.InneractiveErrorCode;
import com.fyber.inneractive.sdk.external.InneractiveInfrastructureError;
import com.fyber.inneractive.sdk.network.s;
import com.fyber.inneractive.sdk.ui.IAmraidWebViewController;
import com.fyber.inneractive.sdk.util.IAlog;
import com.fyber.inneractive.sdk.web.f;
import org.json.JSONArray;
/* loaded from: classes2.dex */
public final class n extends h<com.fyber.inneractive.sdk.response.f, c0> {
public IAmraidWebViewController m;
public final a n = new a();
public static /* synthetic */ class b {
public static final /* synthetic */ int[] a;
static {
int[] iArr = new int[UnitDisplayType.values().length];
a = iArr;
try {
iArr[UnitDisplayType.INTERSTITIAL.ordinal()] = 1;
} catch (NoSuchFieldError unused) {
}
try {
a[UnitDisplayType.REWARDED.ordinal()] = 2;
} catch (NoSuchFieldError unused2) {
}
}
}
@Override // com.fyber.inneractive.sdk.flow.h
public final String d() {
return "send_failed_display_creatives";
}
/* JADX WARN: Removed duplicated region for block: B:36:0x00d1 */
/* JADX WARN: Removed duplicated region for block: B:84:? A[RETURN, SYNTHETIC] */
/* JADX WARN: Type inference failed for: r1v1, types: [Response extends com.fyber.inneractive.sdk.response.e, T extends com.fyber.inneractive.sdk.response.e] */
@Override // com.fyber.inneractive.sdk.flow.h
/*
Code decompiled incorrectly, please refer to instructions dump.
To view partially-correct add '--show-bad-code' argument
*/
public final void g() {
/*
Method dump skipped, instructions count: 433
To view this dump add '--comments-level debug' option
*/
throw new UnsupportedOperationException("Method not decompiled: com.fyber.inneractive.sdk.flow.n.g():void");
}
@Override // com.fyber.inneractive.sdk.flow.h, com.fyber.inneractive.sdk.interfaces.a.b
public final void b() {
IAmraidWebViewController iAmraidWebViewController;
IAlog.a("%s : IAMraidContentLoader : destroyController", IAlog.a(this));
if (this.c != 0 && (iAmraidWebViewController = this.m) != null) {
com.fyber.inneractive.sdk.measurement.tracker.c cVar = iAmraidWebViewController.J;
if (cVar != null) {
cVar.a(false);
}
this.m.d();
this.m = null;
}
super.b();
}
@Override // com.fyber.inneractive.sdk.flow.h
public final InneractiveInfrastructureError c() {
com.fyber.inneractive.sdk.network.timeouts.content.a aVar = this.j;
if (aVar != null) {
int i = this.i;
if (aVar.g) {
i = aVar.a - i;
}
r1 = (i == aVar.a ? aVar.i : 0) + (aVar.b * i) + aVar.d;
}
return new InneractiveInfrastructureError(InneractiveErrorCode.LOAD_TIMEOUT, g.WEBVIEW_LOAD_TIMEOUT, new Exception("LoadTimeout after " + r1 + " ms"));
}
@Override // com.fyber.inneractive.sdk.flow.h, com.fyber.inneractive.sdk.interfaces.a
public final void cancel() {
IAmraidWebViewController iAmraidWebViewController;
IAlog.a("%s : IAMraidContentLoader : destroyController", IAlog.a(this));
if (this.c != 0 && (iAmraidWebViewController = this.m) != null) {
com.fyber.inneractive.sdk.measurement.tracker.c cVar = iAmraidWebViewController.J;
if (cVar != null) {
cVar.a(false);
}
this.m.d();
this.m = null;
}
this.k.a();
IAlog.a("%s: IAAdContentLoaderImpl : cancel load ad content retry task", IAlog.a(this));
com.fyber.inneractive.sdk.util.p.b.removeCallbacks(this.l);
this.a = null;
this.b = null;
this.c = null;
this.d = null;
this.e = null;
this.f = null;
}
public class a implements f.b {
public a() {
}
@Override // com.fyber.inneractive.sdk.web.f.b
public final void a(com.fyber.inneractive.sdk.web.f fVar) {
n nVar = n.this;
nVar.getClass();
IAlog.a("%sweb view returned onReady!", IAlog.a(nVar));
Response response = n.this.b;
UnitDisplayType unitDisplayType = response != 0 ? ((com.fyber.inneractive.sdk.response.f) response).n : null;
if (unitDisplayType != null && unitDisplayType.isFullscreenUnit()) {
n nVar2 = n.this;
nVar2.getClass();
try {
com.fyber.inneractive.sdk.network.r rVar = com.fyber.inneractive.sdk.network.r.EVENT_READY_ON_CLIENT;
InneractiveAdRequest inneractiveAdRequest = nVar2.a;
Content content = nVar2.c;
new s.a(rVar, inneractiveAdRequest, content != 0 ? (com.fyber.inneractive.sdk.response.f) ((c0) content).b : null, (JSONArray) null).a((String) null);
} catch (Exception unused) {
}
}
n.this.f();
}
@Override // com.fyber.inneractive.sdk.web.f.b
public final void a(InneractiveInfrastructureError inneractiveInfrastructureError) {
n.this.b(inneractiveInfrastructureError);
n nVar = n.this;
nVar.getClass();
IAlog.a("%sweb view returned onFailedLoading!", IAlog.a(nVar));
n.this.a(inneractiveInfrastructureError);
if (inneractiveInfrastructureError.getErrorCode() == InneractiveErrorCode.NON_SECURE_CONTENT_DETECTED) {
com.fyber.inneractive.sdk.network.q qVar = com.fyber.inneractive.sdk.network.q.MRAID_ERROR_UNSECURE_CONTENT;
n nVar2 = n.this;
new s.a(qVar, nVar2.a, nVar2.b, (JSONArray) null).a((String) null);
}
}
}
}