- 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.8 KiB
Java
46 lines
1.8 KiB
Java
package com.ironsource.mediationsdk;
|
|
|
|
import android.content.Context;
|
|
import com.ironsource.a5;
|
|
import com.ironsource.h5;
|
|
import com.ironsource.l4;
|
|
import com.ironsource.mediationsdk.e;
|
|
import java.net.URL;
|
|
import kotlin.jvm.internal.Intrinsics;
|
|
import org.json.JSONException;
|
|
import org.json.JSONObject;
|
|
|
|
/* loaded from: classes4.dex */
|
|
public final class f implements g {
|
|
private final h5 a;
|
|
private final String b;
|
|
|
|
public f(h5 settings, String sessionId) {
|
|
Intrinsics.checkNotNullParameter(settings, "settings");
|
|
Intrinsics.checkNotNullParameter(sessionId, "sessionId");
|
|
this.a = settings;
|
|
this.b = sessionId;
|
|
}
|
|
|
|
private final JSONObject a(Context context, i iVar) throws JSONException {
|
|
JSONObject a = d.b().a(iVar);
|
|
Intrinsics.checkNotNullExpressionValue(a, "getInstance().enrichToke…low(auctionRequestParams)");
|
|
return a;
|
|
}
|
|
|
|
@Override // com.ironsource.mediationsdk.g
|
|
public e.a a(Context context, i auctionRequestParams, l4 auctionListener) throws JSONException {
|
|
Intrinsics.checkNotNullParameter(context, "context");
|
|
Intrinsics.checkNotNullParameter(auctionRequestParams, "auctionRequestParams");
|
|
Intrinsics.checkNotNullParameter(auctionListener, "auctionListener");
|
|
JSONObject a = a(context, auctionRequestParams);
|
|
String a2 = this.a.a(auctionRequestParams.r());
|
|
return auctionRequestParams.r() ? new a5(auctionListener, new URL(a2), a, auctionRequestParams.s(), this.a.g(), this.a.m(), this.a.n(), this.a.o(), this.a.d()) : new e.a(auctionListener, new URL(a2), a, auctionRequestParams.s(), this.a.g(), this.a.m(), this.a.n(), this.a.o(), this.a.d());
|
|
}
|
|
|
|
@Override // com.ironsource.mediationsdk.g
|
|
public boolean a() {
|
|
return this.a.g() > 0;
|
|
}
|
|
}
|