Files
rr3-apk/decompiled/sources/com/applovin/impl/o4.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

42 lines
1.7 KiB
Java

package com.applovin.impl;
import android.text.TextUtils;
import com.applovin.impl.sdk.utils.JsonUtils;
import com.applovin.sdk.R;
import java.util.ArrayList;
import java.util.List;
import org.json.JSONArray;
import org.json.JSONObject;
/* loaded from: classes.dex */
public abstract class o4 {
public static List b(com.applovin.impl.sdk.j jVar) {
return a(R.raw.applovin_consent_flow_terms_of_service_and_privacy_policy, jVar);
}
public static List c(com.applovin.impl.sdk.j jVar) {
return a(R.raw.applovin_consent_flow_unified_cmp, jVar);
}
private static List a(int i, com.applovin.impl.sdk.j jVar) {
String a = yp.a(i, com.applovin.impl.sdk.j.l(), jVar);
if (!TextUtils.isEmpty(a)) {
JSONObject jsonObjectFromJsonString = JsonUtils.jsonObjectFromJsonString(a, null);
if (jsonObjectFromJsonString != null) {
JSONArray jSONArray = JsonUtils.getJSONArray(jsonObjectFromJsonString, "states", new JSONArray());
ArrayList arrayList = new ArrayList();
for (int i2 = 0; i2 < jSONArray.length(); i2++) {
arrayList.add(j4.a(JsonUtils.getJSONObject(jSONArray, i2, new JSONObject()), jVar));
}
return arrayList;
}
throw new IllegalStateException("Unable to parse consent flow data! Please ensure that the AppLovin SDK resources are bundled correctly!");
}
throw new IllegalStateException("Unable to retrieve consent flow data! Please ensure that the AppLovin SDK resources are bundled correctly!");
}
public static List a(com.applovin.impl.sdk.j jVar) {
return a(R.raw.applovin_consent_flow_privacy_policy, jVar);
}
}