- 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
46 lines
1.9 KiB
Java
46 lines
1.9 KiB
Java
package com.applovin.impl;
|
|
|
|
import android.webkit.WebView;
|
|
import com.iab.omid.library.applovin.adsession.AdSessionConfiguration;
|
|
import com.iab.omid.library.applovin.adsession.AdSessionContext;
|
|
import com.iab.omid.library.applovin.adsession.CreativeType;
|
|
import com.iab.omid.library.applovin.adsession.ImpressionType;
|
|
import com.iab.omid.library.applovin.adsession.Owner;
|
|
|
|
/* loaded from: classes.dex */
|
|
public class ng extends mg {
|
|
public ng(com.applovin.impl.sdk.ad.a aVar) {
|
|
super(aVar);
|
|
}
|
|
|
|
@Override // com.applovin.impl.mg
|
|
public AdSessionConfiguration a() {
|
|
try {
|
|
return AdSessionConfiguration.createAdSessionConfiguration(CreativeType.HTML_DISPLAY, ImpressionType.LOADED, Owner.NATIVE, Owner.NONE, false);
|
|
} catch (Throwable th) {
|
|
if (com.applovin.impl.sdk.n.a()) {
|
|
this.c.a(this.d, "Failed to create ad session configuration", th);
|
|
}
|
|
return null;
|
|
}
|
|
}
|
|
|
|
@Override // com.applovin.impl.mg
|
|
public AdSessionContext a(WebView webView) {
|
|
AdSessionContext createHtmlAdSessionContext;
|
|
try {
|
|
if (this.a.getOpenMeasurementVerificationScriptResources().size() > 0) {
|
|
createHtmlAdSessionContext = AdSessionContext.createNativeAdSessionContext(this.b.W().b(), this.b.W().a(), this.a.getOpenMeasurementVerificationScriptResources(), this.a.getOpenMeasurementContentUrl(), this.a.getOpenMeasurementCustomReferenceData());
|
|
} else {
|
|
createHtmlAdSessionContext = AdSessionContext.createHtmlAdSessionContext(this.b.W().b(), webView, this.a.getOpenMeasurementContentUrl(), this.a.getOpenMeasurementCustomReferenceData());
|
|
}
|
|
return createHtmlAdSessionContext;
|
|
} catch (Throwable th) {
|
|
if (com.applovin.impl.sdk.n.a()) {
|
|
this.c.a(this.d, "Failed to create ad session context", th);
|
|
}
|
|
return null;
|
|
}
|
|
}
|
|
}
|