Idle Tower v2.48版本的 MD5 值为:56f20496f6a85726b376356ed2ecee23
以下内容为反编译后的 b.java 源代码,内容仅作参考
package com.applovin.impl.mediation.debugger.ui.b;
import android.content.Context;
import android.text.TextUtils;
import com.applovin.communicator.AppLovinCommunicator;
import com.applovin.communicator.AppLovinCommunicatorMessage;
import com.applovin.communicator.AppLovinCommunicatorSubscriber;
import com.applovin.impl.b.a.c;
import com.applovin.impl.mediation.debugger.a;
import com.applovin.impl.mediation.debugger.b.c.b;
import com.applovin.impl.mediation.debugger.ui.d.c;
import com.applovin.impl.mediation.debugger.ui.d.e;
import com.applovin.impl.sdk.f;
import com.applovin.impl.sdk.o;
import com.applovin.impl.sdk.utils.StringUtils;
import com.applovin.impl.sdk.utils.Utils;
import com.applovin.impl.sdk.utils.g;
import com.applovin.impl.sdk.x;
import com.applovin.sdk.AppLovinSdk;
import com.applovin.sdk.AppLovinSdkUtils;
import com.applovin.sdk.R;
import java.util.ArrayList;
import java.util.Collections;
import java.util.HashSet;
import java.util.Iterator;
import java.util.List;
import java.util.Map;
import java.util.concurrent.atomic.AtomicBoolean;
public class b extends com.applovin.impl.mediation.debugger.ui.d.d implements AppLovinCommunicatorSubscriber, a.InterfaceC0069a {
private o f1251a;
private List<com.applovin.impl.mediation.debugger.b.a.a> b;
private List<com.applovin.impl.mediation.debugger.b.a.a> d;
private List<com.applovin.impl.mediation.debugger.b.b.b> e;
private String f;
private String g;
private String h;
private Boolean i;
private final StringBuilder j;
private final AtomicBoolean k;
private boolean l;
private List<com.applovin.impl.mediation.debugger.b.c.b> m;
private List<com.applovin.impl.mediation.debugger.b.c.b> n;
private List<com.applovin.impl.mediation.debugger.b.c.b> o;
private List<com.applovin.impl.mediation.debugger.b.a.c> p;
private List<com.applovin.impl.mediation.debugger.b.a.c> q;
private List<com.applovin.impl.mediation.debugger.b.c.b> r;
private List<com.applovin.impl.mediation.debugger.ui.d.c> s;
private List<com.applovin.impl.mediation.debugger.ui.d.c> t;
private List<com.applovin.impl.mediation.debugger.ui.d.c> u;
private List<com.applovin.impl.mediation.debugger.ui.d.c> v;
private List<com.applovin.impl.mediation.debugger.ui.d.c> w;
private List<com.applovin.impl.mediation.debugger.ui.d.c> x;
private List<com.applovin.impl.mediation.debugger.ui.d.c> y;
public enum a {
AD_UNITS,
SELECT_LIVE_NETWORKS,
SELECT_TEST_MODE_NETWORKS,
INITIALIZATION_AD_UNITS,
COUNT
}
public enum EnumC0075b {
SUCCESS,
WARNING,
ERROR
}
public enum c {
SDK_VERSION,
PLUGIN_VERSION,
AD_REVIEW_VERSION,
FLOW_ENABLED,
PRIVACY_POLICY_URL,
TERMS_OF_SERVICE_URL,
APP_ADS_TXT
}
public enum d {
APP_INFO,
MAX,
PRIVACY,
ADS,
INCOMPLETE_NETWORKS,
COMPLETED_NETWORKS,
MISSING_NETWORKS,
COUNT
}
@Override
public String getCommunicatorId() {
return "MediationDebuggerListAdapter";
}
public b(Context context) {
super(context);
this.j = new StringBuilder("");
this.k = new AtomicBoolean();
this.l = false;
this.m = new ArrayList();
this.n = new ArrayList();
this.o = new ArrayList();
this.p = new ArrayList();
this.q = new ArrayList();
this.r = new ArrayList();
this.s = new ArrayList();
this.t = new ArrayList();
this.u = new ArrayList();
this.v = new ArrayList();
this.w = new ArrayList();
this.x = new ArrayList();
this.y = new ArrayList();
}
public boolean a() {
return this.k.get();
}
public boolean b() {
return this.l;
}
public void a(boolean z) {
this.l = z;
}
public o c() {
return this.f1251a;
}
public List<com.applovin.impl.mediation.debugger.b.a.a> d() {
return this.b;
}
public List<com.applovin.impl.mediation.debugger.b.a.a> f() {
return this.d;
}
public String g() {
return this.f;
}
public String h() {
return this.g;
}
public List<com.applovin.impl.mediation.debugger.b.a.c> i() {
return this.p;
}
public List<com.applovin.impl.mediation.debugger.b.a.c> j() {
return this.q;
}
public List<com.applovin.impl.mediation.debugger.b.c.b> k() {
return this.r;
}
public String l() {
return this.j.toString();
}
public void a(List<com.applovin.impl.mediation.debugger.b.c.b> list, List<com.applovin.impl.mediation.debugger.b.a.a> list2, List<com.applovin.impl.mediation.debugger.b.a.a> list3, List<com.applovin.impl.mediation.debugger.b.b.b> list4, String str, String str2, String str3, Boolean bool, o oVar) {
this.f1251a = oVar;
this.b = list2;
this.d = list3;
this.e = list4;
this.f = str;
this.g = str2;
this.h = str3;
this.i = bool;
if (list != null && this.k.compareAndSet(false, true)) {
oVar.M();
if (x.a()) {
oVar.M().b("MediationDebuggerListAdapter", "Populating networks...");
}
a(list);
b(list2);
c(this.n);
this.s.addAll(p());
this.t.addAll(q());
this.u.addAll(s());
this.v.addAll(t());
this.w = d(this.m);
this.x = d(this.n);
this.y = d(this.o);
ArrayList arrayList = new ArrayList(3);
arrayList.add("privacy_setting_updated");
arrayList.add("network_sdk_version_updated");
arrayList.add("live_network_updated");
arrayList.add("test_mode_network_updated");
AppLovinCommunicator.getInstance(this.c).subscribe(this, arrayList);
o();
}
AppLovinSdkUtils.runOnUiThread(new Runnable() {
@Override
public void run() {
b.this.notifyDataSetChanged();
}
});
}
@Override
protected int e() {
return d.COUNT.ordinal();
}
@Override
protected int a(int i) {
if (i == d.APP_INFO.ordinal()) {
return this.s.size();
}
if (i == d.MAX.ordinal()) {
return this.t.size();
}
if (i == d.PRIVACY.ordinal()) {
return this.u.size();
}
if (i == d.ADS.ordinal()) {
return this.v.size();
}
if (i == d.INCOMPLETE_NETWORKS.ordinal()) {
return this.w.size();
}
if (i == d.COMPLETED_NETWORKS.ordinal()) {
return this.x.size();
}
return this.y.size();
}
@Override
protected com.applovin.impl.mediation.debugger.ui.d.c b(int i) {
if (i == d.APP_INFO.ordinal()) {
return new e("APP INFO");
}
if (i == d.MAX.ordinal()) {
return new e("MAX");
}
if (i == d.PRIVACY.ordinal()) {
return new e("PRIVACY");
}
if (i == d.ADS.ordinal()) {
return new e("ADS");
}
if (i == d.INCOMPLETE_NETWORKS.ordinal()) {
return new e("INCOMPLETE SDK INTEGRATIONS");
}
if (i == d.COMPLETED_NETWORKS.ordinal()) {
return new e("COMPLETED SDK INTEGRATIONS");
}
return new e("MISSING SDK INTEGRATIONS");
}
@Override
protected List<com.applovin.impl.mediation.debugger.ui.d.c> c(int i) {
if (i == d.APP_INFO.ordinal()) {
return this.s;
}
if (i == d.MAX.ordinal()) {
return this.t;
}
if (i == d.PRIVACY.ordinal()) {
return this.u;
}
if (i == d.ADS.ordinal()) {
return this.v;
}
if (i == d.INCOMPLETE_NETWORKS.ordinal()) {
return this.w;
}
if (i == d.COMPLETED_NETWORKS.ordinal()) {
return this.x;
}
return this.y;
}
@Override
public void onMessageReceived(AppLovinCommunicatorMessage appLovinCommunicatorMessage) {
if ("privacy_setting_updated".equals(appLovinCommunicatorMessage.getTopic())) {
this.u = s();
m();
return;
}
if ("network_sdk_version_updated".equals(appLovinCommunicatorMessage.getTopic())) {
this.w = d(this.m);
this.x = d(this.n);
m();
} else if ("live_network_updated".equals(appLovinCommunicatorMessage.getTopic())) {
this.v = a(appLovinCommunicatorMessage.getMessageData().getString("live_network", null), (String) null);
m();
} else if ("test_mode_network_updated".equals(appLovinCommunicatorMessage.getTopic())) {
this.v = a((String) null, appLovinCommunicatorMessage.getMessageData().getString("test_mode_network", null));
m();
}
}
@Override
public void a(com.applovin.impl.mediation.debugger.b.b.a aVar, String str) {
com.applovin.impl.mediation.debugger.b.b.b bVar;
String a2;
EnumC0075b a3;
ArrayList arrayList = new ArrayList();
for (com.applovin.impl.mediation.debugger.b.b.b bVar2 : this.e) {
List<com.applovin.impl.mediation.debugger.b.b.b> list = aVar.a().get(bVar2.b());
if (list == null || !list.contains(bVar2)) {
this.f1251a.M();
if (x.a()) {
this.f1251a.M().e("MediationDebuggerListAdapter", str + " is missing a required entry: " + bVar2.f());
}
arrayList.add(bVar2);
}
}
if (arrayList.isEmpty()) {
a2 = "All required entries found at " + str + ".";
a3 = EnumC0075b.SUCCESS;
} else {
Iterator it = arrayList.iterator();
while (true) {
if (it.hasNext()) {
bVar = (com.applovin.impl.mediation.debugger.b.b.b) it.next();
if (bVar.a()) {
break;
}
} else {
bVar = null;
break;
}
}
if (bVar != null) {
a2 = a(a.b.MISSING_APPLOVIN_ENTRIES, str, bVar.f());
a3 = a(a.b.MISSING_APPLOVIN_ENTRIES);
} else {
a2 = a(a.b.MISSING_NON_APPLOVIN_ENTRIES, str, (String) null);
a3 = a(a.b.MISSING_NON_APPLOVIN_ENTRIES);
}
}
this.t.add(a(a2, a3));
m();
}
@Override
public void a(a.b bVar, String str) {
if (bVar == a.b.DEVELOPER_URI_NOT_FOUND) {
this.f1251a.M();
if (x.a()) {
this.f1251a.M().b("MediationDebuggerListAdapter", "Developer URI was not found; app-ads.txt row will not show on the mediation debugger");
return;
}
return;
}
this.t.add(a(a(bVar, str, (String) null), a(bVar)));
m();
}
private void o() {
Map<String, String> metaData;
StringBuilder sb = new StringBuilder("\n========== MEDIATION DEBUGGER ==========");
sb.append("\n========== APP INFO ==========");
sb.append("\nDev Build - " + Utils.isPubInDebugMode(this.c, this.f1251a));
StringBuilder sb2 = new StringBuilder();
sb2.append("\nTest Mode - ");
sb2.append(this.f1251a.aw().a() ? "enabled" : "disabled");
sb.append(sb2.toString());
if (this.f1251a.T() != null) {
sb.append("\nTarget SDK - " + this.f1251a.R().B().j());
} else {
sb.append("\nTarget SDK - " + this.f1251a.S().h().get("target_sdk"));
}
sb.append("\n========== MAX ==========");
String str = AppLovinSdk.VERSION;
String str2 = (String) this.f1251a.a(com.applovin.impl.sdk.c.b.eb);
String a2 = f.a();
sb.append("\nSDK Version - " + str);
StringBuilder sb3 = new StringBuilder();
sb3.append("\nPlugin Version - ");
if (!StringUtils.isValidString(str2)) {
str2 = "None";
}
sb3.append(str2);
sb.append(sb3.toString());
StringBuilder sb4 = new StringBuilder();
sb4.append("\nAd Review Version - ");
if (!StringUtils.isValidString(a2)) {
a2 = "Disabled";
}
sb4.append(a2);
sb.append(sb4.toString());
if (this.f1251a.g() && (metaData = Utils.getMetaData(this.f1251a.D())) != null) {
String str3 = metaData.get("UnityVersion");
StringBuilder sb5 = new StringBuilder();
sb5.append("\nUnity Version - ");
sb5.append(StringUtils.isValidString(str3) ? str3 : "None");
sb.append(sb5.toString());
}
sb.append("\n========== PRIVACY ==========");
sb.append(com.applovin.impl.b.a.a(this.c));
sb.append(this.f1251a.af().j());
sb.append("\n========== NETWORKS ==========");
Iterator<com.applovin.impl.mediation.debugger.b.c.b> it = this.n.iterator();
while (it.hasNext()) {
a(sb, it.next().y());
}
Iterator<com.applovin.impl.mediation.debugger.b.c.b> it2 = this.m.iterator();
while (it2.hasNext()) {
a(sb, it2.next().y());
}
sb.append("\n========== AD UNITS ==========");
Iterator<com.applovin.impl.mediation.debugger.b.a.a> it3 = this.b.iterator();
while (it3.hasNext()) {
a(sb, it3.next().g());
}
sb.append("\n========== END ==========");
x.f("MediationDebuggerListAdapter", sb.toString());
this.j.append(sb.toString());
}
private void a(StringBuilder sb, String str) {
String sb2 = sb.toString();
if (sb2.length() + str.length() >= ((Integer) this.f1251a.a(com.applovin.impl.sdk.c.b.ar)).intValue()) {
x.f("MediationDebuggerListAdapter", sb2);
this.j.append(sb2);
sb.setLength(1);
}
sb.append(str);
}
private void a(List<com.applovin.impl.mediation.debugger.b.c.b> list) {
for (com.applovin.impl.mediation.debugger.b.c.b bVar : list) {
if (!bVar.g()) {
if (bVar.a() == b.a.INCOMPLETE_INTEGRATION || bVar.a() == b.a.INVALID_INTEGRATION) {
this.m.add(bVar);
} else if (bVar.a() == b.a.COMPLETE) {
this.n.add(bVar);
} else if (bVar.a() == b.a.MISSING) {
this.o.add(bVar);
}
}
}
}
private void b(List<com.applovin.impl.mediation.debugger.b.a.a> list) {
HashSet hashSet = new HashSet();
HashSet hashSet2 = new HashSet();
Iterator<com.applovin.impl.mediation.debugger.b.a.a> it = list.iterator();
while (it.hasNext()) {
com.applovin.impl.mediation.debugger.b.a.b e = it.next().e();
Iterator<com.applovin.impl.mediation.debugger.b.a.e> it2 = e.d().iterator();
while (it2.hasNext()) {
hashSet.add(it2.next().a());
}
Iterator<com.applovin.impl.mediation.debugger.b.a.e> it3 = e.e().iterator();
while (it3.hasNext()) {
hashSet2.add(it3.next().a());
}
}
this.p = new ArrayList(hashSet);
this.q = new ArrayList(hashSet2);
Collections.sort(this.p);
Collections.sort(this.q);
}
private void c(List<com.applovin.impl.mediation.debugger.b.c.b> list) {
for (com.applovin.impl.mediation.debugger.b.c.b bVar : list) {
if (bVar.c() == b.EnumC0071b.READY) {
this.r.add(bVar);
}
}
}
private List<com.applovin.impl.mediation.debugger.ui.d.c> p() {
String str;
ArrayList arrayList = new ArrayList(7);
try {
str = this.c.getPackageManager().getPackageInfo(this.c.getPackageName(), 0).versionName;
} catch (Throwable unused) {
str = null;
}
arrayList.add(com.applovin.impl.mediation.debugger.ui.d.c.p().a("Package Name").b(this.c.getPackageName()).a());
c.a a2 = com.applovin.impl.mediation.debugger.ui.d.c.p().a("App Version");
if (!StringUtils.isValidString(str)) {
str = "None";
}
arrayList.add(a2.b(str).a());
arrayList.add(com.applovin.impl.mediation.debugger.ui.d.c.p().a("OS").b(Utils.getAndroidOSInfo()).a());
arrayList.add(com.applovin.impl.mediation.debugger.ui.d.c.p().a("Account").b(StringUtils.isValidString(this.h) ? this.h : "None").a());
arrayList.add(com.applovin.impl.mediation.debugger.ui.d.c.p().a("Mediation Provider").b(StringUtils.isValidString(this.f1251a.t()) ? this.f1251a.t() : "None").a());
arrayList.add(com.applovin.impl.mediation.debugger.ui.d.c.p().a("OM SDK Version").b(this.f1251a.ah().c()).a());
arrayList.add(b(o.B()));
if (this.i != null) {
arrayList.add(com.applovin.impl.mediation.debugger.ui.d.c.p().a("Google Families Policy").b(String.valueOf(this.i)).a());
}
return arrayList;
}
private List<com.applovin.impl.mediation.debugger.ui.d.c> q() {
Map<String, String> metaData;
ArrayList arrayList = new ArrayList(7);
arrayList.add(com.applovin.impl.mediation.debugger.ui.d.c.p().a("SDK Version").b(AppLovinSdk.VERSION).a());
String str = (String) this.f1251a.a(com.applovin.impl.sdk.c.b.eb);
c.a a2 = com.applovin.impl.mediation.debugger.ui.d.c.p().a("Plugin Version");
if (!StringUtils.isValidString(str)) {
str = "None";
}
arrayList.add(a2.b(str).a());
c.a a3 = com.applovin.impl.mediation.debugger.ui.d.c.p().a("Ad Review Version");
String a4 = f.a();
if (StringUtils.isValidString(a4)) {
String b = f.b();
if (StringUtils.isValidString(b)) {
if (b.equals(this.f1251a.C())) {
a3.b(a4);
} else {
StringBuilder sb = new StringBuilder("MAX Ad Review integrated with wrong SDK key. Please check that your ");
sb.append(this.f1251a.g() ? "SDK key is downloaded" : "Gradle plugin snippet is integrated");
sb.append(" from the correct account.");
a(a3, sb.toString());
}
} else {
a3.b(a4);
}
} else {
a(a3, "Integrating MAX Ad review is OPTIONAL. This feature gives developers unprecedented transparency into the creatives the users see in their apps.");
}
arrayList.add(a3.a());
if (this.f1251a.g() && (metaData = Utils.getMetaData(this.f1251a.D())) != null) {
String str2 = metaData.get("UnityVersion");
arrayList.add(b("Unity Version", StringUtils.isValidString(str2) ? str2 : "None"));
}
if (this.f1251a.af().b()) {
arrayList.addAll(r());
}
return arrayList;
}
private List<com.applovin.impl.mediation.debugger.ui.d.c> r() {
ArrayList arrayList = new ArrayList(3);
arrayList.add(a(this.f1251a.af().c() == c.a.TERMS ? "MAX Terms Flow" : "MAX Consent Flow", this.f1251a.af().b(), false));
arrayList.add(a("Privacy Policy URL", this.f1251a.af().d() != null, true));
c.a a2 = com.applovin.impl.mediation.debugger.ui.d.c.p().a("Terms of Service URL");
if (this.f1251a.af().e() != null) {
a2.a(R.drawable.applovin_ic_check_mark_bordered);
a2.c(g.a(R.color.applovin_sdk_checkmarkColor, this.c));
a2.a(true);
} else {
a2.b("None");
a2.a(false);
}
arrayList.add(a2.a());
return arrayList;
}
private List<com.applovin.impl.mediation.debugger.ui.d.c> s() {
ArrayList arrayList = new ArrayList(3);
arrayList.add(new com.applovin.impl.mediation.debugger.ui.b.a.b(com.applovin.impl.b.a.a(), true, this.c));
arrayList.add(new com.applovin.impl.mediation.debugger.ui.b.a.b(com.applovin.impl.b.a.b(), false, this.c));
arrayList.add(new com.applovin.impl.mediation.debugger.ui.b.a.b(com.applovin.impl.b.a.c(), true, this.c));
return arrayList;
}
private List<com.applovin.impl.mediation.debugger.ui.d.c> t() {
return a((String) null, (String) null);
}
private List<com.applovin.impl.mediation.debugger.ui.d.c> a(String str, String str2) {
ArrayList arrayList = new ArrayList(3);
arrayList.add(com.applovin.impl.mediation.debugger.ui.d.c.p().a("View Ad Units (" + this.b.size() + ")").a(this.c).a(true).a());
arrayList.add(a(str));
arrayList.add(b(str2));
if (!this.d.isEmpty()) {
arrayList.add(com.applovin.impl.mediation.debugger.ui.d.c.p().a("Selective Init Ad Units (" + this.d.size() + ")").a(this.c).a(true).a());
}
return arrayList;
}
private List<com.applovin.impl.mediation.debugger.ui.d.c> d(List<com.applovin.impl.mediation.debugger.b.c.b> list) {
ArrayList arrayList = new ArrayList(list.size());
Iterator<com.applovin.impl.mediation.debugger.b.c.b> it = list.iterator();
while (it.hasNext()) {
arrayList.add(new com.applovin.impl.mediation.debugger.ui.b.a.a(it.next(), this.c));
}
return arrayList;
}
private com.applovin.impl.mediation.debugger.ui.d.c b(String str, String str2) {
c.a a2 = com.applovin.impl.mediation.debugger.ui.d.c.p().a(str);
if (StringUtils.isValidString(str2)) {
a2.b(str2);
} else {
a2.a(R.drawable.applovin_ic_x_mark);
a2.c(g.a(R.color.applovin_sdk_xmarkColor, this.c));
}
return a2.a();
}
private void a(c.a aVar, String str) {
aVar.c("MAX Ad Review").d(str).a(R.drawable.applovin_ic_x_mark).c(g.a(R.color.applovin_sdk_xmarkColor, this.c)).a(true);
}
private com.applovin.impl.mediation.debugger.ui.d.c a(String str) {
c.a p = com.applovin.impl.mediation.debugger.ui.d.c.p();
if (!this.f1251a.aw().a()) {
p.a(this.c);
}
StringBuilder sb = new StringBuilder();
sb.append(StringUtils.isValidString(str) ? "" : "Select ");
sb.append("Live Network");
c.a a2 = p.a(sb.toString());
if (this.f1251a.aw().a()) {
str = "Enable";
}
return a2.b(str).b(-16776961).d("Ad loads are not supported while Test Mode is enabled. Please restart the app and make sure your GAID has not been enabled for test mode and that you are not on an emulator.").a(true).a();
}
private com.applovin.impl.mediation.debugger.ui.d.c b(String str) {
c.a p = com.applovin.impl.mediation.debugger.ui.d.c.p();
if (this.f1251a.aw().a()) {
p.a(this.c);
}
StringBuilder sb = new StringBuilder();
sb.append(StringUtils.isValidString(str) ? "" : "Select ");
sb.append("Test Mode Network");
c.a a2 = p.a(sb.toString());
if (!this.f1251a.aw().a()) {
str = "Enable";
}
return a2.b(str).b(-16776961).d("Please re-launch the app to enable test mode. This will allow the selection of test mode networks.").a(true).a();
}
private com.applovin.impl.mediation.debugger.ui.d.c b(boolean z) {
return com.applovin.impl.mediation.debugger.ui.d.c.p().a("Java 8").a(z ? R.drawable.applovin_ic_check_mark_bordered : R.drawable.applovin_ic_x_mark).c(g.a(z ? R.color.applovin_sdk_checkmarkColor : R.color.applovin_sdk_xmarkColor, this.c)).c("Upgrade to Java 8").d("For optimal performance, please enable Java 8 support. This will be required in a future SDK release. See: https://dash.applovin.com/documentation/mediation/android/getting-started/integration").a(!z).a();
}
private com.applovin.impl.mediation.debugger.ui.d.c a(String str, boolean z, boolean z2) {
return com.applovin.impl.mediation.debugger.ui.d.c.p().a(str).a(z ? R.drawable.applovin_ic_check_mark_bordered : R.drawable.applovin_ic_x_mark).c(g.a(z ? R.color.applovin_sdk_checkmarkColor : R.color.applovin_sdk_xmarkColor, this.c)).a(z2).a();
}
private com.applovin.impl.mediation.debugger.ui.d.c a(String str, EnumC0075b enumC0075b) {
int i;
int a2;
if (enumC0075b == EnumC0075b.SUCCESS) {
i = R.drawable.applovin_ic_check_mark_bordered;
a2 = g.a(R.color.applovin_sdk_checkmarkColor, this.c);
} else if (enumC0075b == EnumC0075b.WARNING) {
i = R.drawable.applovin_ic_warning;
a2 = g.a(R.color.applovin_sdk_warningColor, this.c);
} else {
i = R.drawable.applovin_ic_x_mark;
a2 = g.a(R.color.applovin_sdk_xmarkColor, this.c);
}
return com.applovin.impl.mediation.debugger.ui.d.c.p().a("app-ads.txt").a(i).c(a2).c("app-ads.txt").d(str).a(true).a();
}
private String a(a.b bVar, String str, String str2) {
if (TextUtils.isEmpty(str)) {
str = "app-ads.txt URL";
}
int i = AnonymousClass2.f1253a[bVar.ordinal()];
if (i == 1) {
return "Could not retrieve developer website from the Play Store for this package name. Check back once this app has been published on the Play Store.";
}
if (i == 2) {
return "Unable to find app-ads.txt file or parse entries of the file at " + str + ".\n\nFor more information, please visit Account -> App-Ads.txt Info at:\nhttps://dash.applovin.com/o/account?r=2#app_ads_txt";
}
if (i != 3) {
if (i != 4) {
return "";
}
return "Text file at " + str + " is missing some of the suggested lines.\n\nFor more information, please visit Account -> App-Ads.txt Info at:\nhttps://dash.applovin.com/o/account?r=2#app_ads_txt";
}
return "Text file at " + str + " is missing the required AppLovin line:\n\n" + str2 + "\n\nFor more information, please visit Account -> App-Ads.txt Info at:\nhttps://dash.applovin.com/o/account?r=2#app_ads_txt";
}
public static class AnonymousClass2 {
static final int[] f1253a;
static {
int[] iArr = new int[a.b.values().length];
f1253a = iArr;
try {
iArr[a.b.DEVELOPER_URI_NOT_FOUND.ordinal()] = 1;
} catch (NoSuchFieldError unused) {
}
try {
f1253a[a.b.APPADSTXT_NOT_FOUND.ordinal()] = 2;
} catch (NoSuchFieldError unused2) {
}
try {
f1253a[a.b.MISSING_APPLOVIN_ENTRIES.ordinal()] = 3;
} catch (NoSuchFieldError unused3) {
}
try {
f1253a[a.b.MISSING_NON_APPLOVIN_ENTRIES.ordinal()] = 4;
} catch (NoSuchFieldError unused4) {
}
}
}
private EnumC0075b a(a.b bVar) {
int i = AnonymousClass2.f1253a[bVar.ordinal()];
if (i == 1 || i == 2 || i == 3) {
return EnumC0075b.ERROR;
}
if (i == 4) {
return EnumC0075b.WARNING;
}
return EnumC0075b.ERROR;
}
public String toString() {
return "MediationDebuggerListAdapter{isInitialized=" + this.k.get() + "}";
}
}