- 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.6 KiB
Java
75 lines
2.6 KiB
Java
package com.applovin.impl;
|
|
|
|
import com.applovin.impl.sdk.utils.StringUtils;
|
|
import com.applovin.sdk.AppLovinAdLoadListener;
|
|
|
|
/* loaded from: classes.dex */
|
|
class hn extends yl {
|
|
private final eq h;
|
|
private final AppLovinAdLoadListener i;
|
|
|
|
public hn(eq eqVar, AppLovinAdLoadListener appLovinAdLoadListener, com.applovin.impl.sdk.j jVar) {
|
|
super("TaskResolveVastWrapper", jVar);
|
|
this.i = appLovinAdLoadListener;
|
|
this.h = eqVar;
|
|
}
|
|
|
|
@Override // java.lang.Runnable
|
|
public void run() {
|
|
String a2 = mq.a(this.h);
|
|
if (StringUtils.isValidString(a2)) {
|
|
if (com.applovin.impl.sdk.n.a()) {
|
|
this.c.a(this.b, "Resolving VAST ad with depth " + this.h.d() + " at " + a2);
|
|
}
|
|
try {
|
|
this.a.j0().a(new a(com.applovin.impl.sdk.network.a.a(this.a).b(a2).c("GET").a(es.f).a(((Integer) this.a.a(sj.Y4)).intValue()).c(((Integer) this.a.a(sj.Z4)).intValue()).a(false).a(), this.a));
|
|
return;
|
|
} catch (Throwable th) {
|
|
if (com.applovin.impl.sdk.n.a()) {
|
|
this.c.a(this.b, "Unable to resolve VAST wrapper", th);
|
|
}
|
|
a(-1);
|
|
return;
|
|
}
|
|
}
|
|
if (com.applovin.impl.sdk.n.a()) {
|
|
this.c.b(this.b, "Resolving VAST failed. Could not find resolution URL");
|
|
}
|
|
a(-1);
|
|
}
|
|
|
|
/* JADX INFO: Access modifiers changed from: private */
|
|
public void a(int i) {
|
|
if (com.applovin.impl.sdk.n.a()) {
|
|
this.c.b(this.b, "Failed to resolve VAST wrapper due to error code " + i);
|
|
}
|
|
if (i != -1009) {
|
|
mq.a(this.h, this.i, i == -1001 ? fq.TIMED_OUT : fq.GENERAL_WRAPPER_ERROR, i, this.a);
|
|
return;
|
|
}
|
|
AppLovinAdLoadListener appLovinAdLoadListener = this.i;
|
|
if (appLovinAdLoadListener != null) {
|
|
appLovinAdLoadListener.failedToReceiveAd(i);
|
|
}
|
|
}
|
|
|
|
public class a extends dn {
|
|
public a(com.applovin.impl.sdk.network.a aVar, com.applovin.impl.sdk.j jVar) {
|
|
super(aVar, jVar);
|
|
}
|
|
|
|
@Override // com.applovin.impl.dn, com.applovin.impl.d4.e
|
|
public void a(String str, es esVar, int i) {
|
|
this.a.j0().a(zm.a(esVar, hn.this.h, hn.this.i, hn.this.a));
|
|
}
|
|
|
|
@Override // com.applovin.impl.dn, com.applovin.impl.d4.e
|
|
public void a(String str, int i, String str2, es esVar) {
|
|
if (com.applovin.impl.sdk.n.a()) {
|
|
this.c.b(this.b, "Unable to resolve VAST wrapper. Server returned " + i);
|
|
}
|
|
hn.this.a(i);
|
|
}
|
|
}
|
|
}
|