Files
rr3-apk/decompiled/sources/com/ironsource/ab.java
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

54 lines
1.7 KiB
Java

package com.ironsource;
import com.ironsource.ee;
import com.ironsource.mediationsdk.logger.IronLog;
import java.util.Locale;
import kotlin.jvm.internal.Intrinsics;
import kotlin.text.StringsKt__StringNumberConversionsKt;
import org.json.JSONObject;
/* loaded from: classes2.dex */
public final class ab implements ee, ee.a {
private JSONObject a = new JSONObject();
private final JSONObject c() {
JSONObject optJSONObject = this.a.optJSONObject(bb.a);
return optJSONObject == null ? new JSONObject() : optJSONObject;
}
@Override // com.ironsource.cb
public int a() {
Integer intOrNull;
String optString = c().optString(db.b);
Intrinsics.checkNotNullExpressionValue(optString, "traits.optString(ISN_CTRL_INIT_DELAY)");
intOrNull = StringsKt__StringNumberConversionsKt.toIntOrNull(optString);
if (intOrNull != null) {
return intOrNull.intValue();
}
return 0;
}
@Override // com.ironsource.ee.a
public void a(JSONObject jSONObject) {
if (jSONObject == null) {
jSONObject = this.a;
}
this.a = jSONObject;
IronLog.INTERNAL.verbose("setEpConfig: " + this.a);
}
@Override // com.ironsource.cb
public boolean b() {
String optString = c().optString(db.a);
Intrinsics.checkNotNullExpressionValue(optString, "traits.optString(IS_EP_CONFIG_ENABLED)");
String lowerCase = optString.toLowerCase(Locale.ROOT);
Intrinsics.checkNotNullExpressionValue(lowerCase, "this as java.lang.String).toLowerCase(Locale.ROOT)");
return Intrinsics.areEqual(lowerCase, "true");
}
@Override // com.ironsource.ee
public JSONObject config() {
return this.a;
}
}