- 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
54 lines
1.7 KiB
Java
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;
|
|
}
|
|
}
|