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

65 lines
2.0 KiB
Java

package com.ironsource;
import android.content.Context;
import com.ironsource.ad;
import com.ironsource.environment.ContextProvider;
import java.util.Map;
import org.json.JSONException;
import org.json.JSONObject;
/* loaded from: classes2.dex */
public class ed {
private static final String a = "adunit_data";
public void a(Context context) {
bd.a().c(context);
}
public void a(String str, ad.a aVar) {
JSONObject optJSONObject;
try {
String name = aVar.name();
bd a2 = bd.a();
JSONObject optJSONObject2 = a2.b(ContextProvider.getInstance().getApplicationContext()).optJSONObject(a);
if (optJSONObject2 == null || (optJSONObject = optJSONObject2.optJSONObject(name)) == null || optJSONObject.remove(str) == null) {
return;
}
a2.b(a, optJSONObject2.put(name, optJSONObject));
} catch (JSONException e) {
i9.d().a(e);
}
}
public void a(String str, Object obj) {
bd.a().b(str, obj);
}
public void a(String str, Object obj, ad.a aVar) {
try {
String name = aVar.name();
bd a2 = bd.a();
JSONObject optJSONObject = a2.b(ContextProvider.getInstance().getApplicationContext()).optJSONObject(a);
if (optJSONObject == null) {
a2.b(a, new JSONObject().put(name, new JSONObject().put(str, obj)));
return;
}
JSONObject optJSONObject2 = optJSONObject.optJSONObject(name);
if (optJSONObject2 == null) {
a2.b(a, optJSONObject.put(name, new JSONObject().put(str, obj)));
} else {
a2.b(a, optJSONObject.put(name, optJSONObject2.put(str, obj)));
}
} catch (JSONException e) {
i9.d().a(e);
}
}
public void a(String str, JSONObject jSONObject) {
bd.a().a(str, jSONObject);
}
public void a(Map<String, Object> map) {
bd.a().a(map);
}
}