- 28,932 files - Full Java source code - Smali files - Resources Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
60 lines
2.2 KiB
Java
60 lines
2.2 KiB
Java
package com.ironsource;
|
|
|
|
import android.text.TextUtils;
|
|
import com.ironsource.l1;
|
|
import com.ironsource.mediationsdk.logger.IronLog;
|
|
import com.ironsource.mediationsdk.model.Placement;
|
|
import com.ironsource.x1;
|
|
import java.util.Arrays;
|
|
import kotlin.jvm.internal.Intrinsics;
|
|
import kotlin.jvm.internal.StringCompanionObject;
|
|
|
|
/* loaded from: classes2.dex */
|
|
public final class xl extends l1 {
|
|
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
|
|
public xl(k1 adTools, yl adUnitData, zl listener) {
|
|
super(adTools, adUnitData, listener);
|
|
String format;
|
|
int b;
|
|
Intrinsics.checkNotNullParameter(adTools, "adTools");
|
|
Intrinsics.checkNotNullParameter(adUnitData, "adUnitData");
|
|
Intrinsics.checkNotNullParameter(listener, "listener");
|
|
Placement h = h();
|
|
IronLog.INTERNAL.verbose("placement = " + h);
|
|
if (h == null || TextUtils.isEmpty(h.getPlacementName())) {
|
|
StringCompanionObject stringCompanionObject = StringCompanionObject.INSTANCE;
|
|
Object[] objArr = new Object[1];
|
|
objArr[0] = h == null ? "placement is null" : "placement name is empty";
|
|
format = String.format("can't load native ad - %s", Arrays.copyOf(objArr, 1));
|
|
Intrinsics.checkNotNullExpressionValue(format, "format(format, *args)");
|
|
b = t1.b(adUnitData.b().a());
|
|
} else {
|
|
format = null;
|
|
b = 510;
|
|
}
|
|
if (format != null) {
|
|
IronLog.API.error(a(format));
|
|
a(b, format);
|
|
}
|
|
}
|
|
|
|
/* JADX INFO: Access modifiers changed from: private */
|
|
public static final x a(xl this$0, y adInstanceData) {
|
|
Intrinsics.checkNotNullParameter(this$0, "this$0");
|
|
Intrinsics.checkNotNullParameter(adInstanceData, "adInstanceData");
|
|
return new pl(new p2(this$0.g(), x1.b.PROVIDER), adInstanceData, new l1.a());
|
|
}
|
|
|
|
@Override // com.ironsource.l1
|
|
public a0 a() {
|
|
return new a0() { // from class: com.ironsource.xl$$ExternalSyntheticLambda0
|
|
@Override // com.ironsource.a0
|
|
public final x a(y yVar) {
|
|
x a;
|
|
a = xl.a(xl.this, yVar);
|
|
return a;
|
|
}
|
|
};
|
|
}
|
|
}
|