导航菜单

页面标题

页面副标题

Jurassic World v1.83.4 - te.java 源代码

正在查看: Jurassic World v1.83.4 应用的 te.java JAVA 源代码文件

本页面展示 JAVA 反编译生成的源代码文件,支持语法高亮显示。 仅供安全研究与技术分析使用,严禁用于任何非法用途。请遵守相关法律法规。


package com.applovin.impl;

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.dc;
import com.applovin.impl.i4;
import com.applovin.impl.ke;
import com.applovin.impl.sdk.utils.StringUtils;
import com.applovin.impl.y0;
import com.applovin.sdk.AppLovinSdk;
import com.applovin.sdk.AppLovinSdkConfiguration;
import com.applovin.sdk.AppLovinSdkUtils;
import com.applovin.sdk.R;
import com.facebook.internal.AnalyticsEvents;
import java.util.ArrayList;
import java.util.Collections;
import java.util.HashSet;
import java.util.Iterator;
import java.util.List;
import java.util.concurrent.atomic.AtomicBoolean;

public class te extends ec implements AppLovinCommunicatorSubscriber, y0.a {
    private List A;
    private List B;
    private List C;
    private List D;
    private com.applovin.impl.sdk.j f;
    private List g;
    private List h;
    private List i;
    private String j;
    private String k;
    private String l;
    private Boolean m;
    private boolean n;
    private final StringBuilder o;
    private final AtomicBoolean p;
    private boolean q;
    private List r;
    private List s;
    private List t;
    private List u;
    private List v;
    private List w;
    private List x;
    private List y;
    private List z;

    static class a {
        static final int[] a;

        static {
            int[] iArr = new int[y0.b.values().length];
            a = iArr;
            try {
                iArr[y0.b.APP_DETAILS_NOT_FOUND.ordinal()] = 1;
            } catch (NoSuchFieldError unused) {
            }
            try {
                a[y0.b.INVALID_DEVELOPER_URI.ordinal()] = 2;
            } catch (NoSuchFieldError unused2) {
            }
            try {
                a[y0.b.APPADSTXT_NOT_FOUND.ordinal()] = 3;
            } catch (NoSuchFieldError unused3) {
            }
            try {
                a[y0.b.MISSING_APPLOVIN_ENTRIES.ordinal()] = 4;
            } catch (NoSuchFieldError unused4) {
            }
            try {
                a[y0.b.MISSING_NON_APPLOVIN_ENTRIES.ordinal()] = 5;
            } catch (NoSuchFieldError unused5) {
            }
        }
    }

    public enum b {
        AD_UNITS,
        SELECT_LIVE_NETWORKS,
        SELECT_TEST_MODE_NETWORKS,
        INITIALIZATION_AD_UNITS,
        COUNT
    }

    private enum c {
        SUCCESS,
        WARNING,
        ERROR
    }

    public enum d {
        SDK_VERSION,
        PLUGIN_VERSION,
        AD_REVIEW_VERSION,
        CONSENT_FLOW,
        GOOGLE_UMP_SDK,
        PRIVACY_POLICY_URL,
        TERMS_OF_SERVICE_URL,
        APP_ADS_TXT
    }

    public enum e {
        CMP,
        NETWORK_CONSENT_STATUSES,
        IS_AGE_RESTRICTED_USER,
        DO_NOT_SELL,
        COUNT
    }

    public enum f {
        APP_INFO,
        MAX,
        PRIVACY,
        ADS,
        INCOMPLETE_NETWORKS,
        COMPLETED_NETWORKS,
        MISSING_NETWORKS,
        COUNT
    }

    private dc q() {
        return dc.a().d("Network Consent Statuses").a(this.a).a(true).a();
    }

    public String getCommunicatorId() {
        return "MediationDebuggerListAdapter";
    }

    public String toString() {
        return "MediationDebuggerListAdapter{isInitialized=" + this.p.get() + "}";
    }

    public te(Context context) {
        super(context);
        this.o = new StringBuilder("");
        this.p = new AtomicBoolean();
        this.q = false;
        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();
        this.z = new ArrayList();
        this.A = new ArrayList();
        this.B = new ArrayList();
        this.C = new ArrayList();
        this.D = new ArrayList();
    }

    public boolean x() {
        return this.p.get();
    }

    public boolean d() {
        return this.q;
    }

    public com.applovin.impl.sdk.j t() {
        return this.f;
    }

    public List e() {
        return this.g;
    }

    public List n() {
        return this.h;
    }

    public String h() {
        return this.j;
    }

    public String g() {
        return this.k;
    }

    public List j() {
        return this.u;
    }

    public List w() {
        return this.v;
    }

    public List v() {
        return this.w;
    }

    public String o() {
        return this.o.toString();
    }

    @Override
    protected List c(int i) {
        if (i == f.APP_INFO.ordinal()) {
            return this.x;
        }
        if (i == f.MAX.ordinal()) {
            return this.y;
        }
        if (i == f.PRIVACY.ordinal()) {
            return this.z;
        }
        if (i == f.ADS.ordinal()) {
            return this.A;
        }
        if (i == f.INCOMPLETE_NETWORKS.ordinal()) {
            return this.B;
        }
        if (i == f.COMPLETED_NETWORKS.ordinal()) {
            return this.C;
        }
        return this.D;
    }

    public void onMessageReceived(AppLovinCommunicatorMessage appLovinCommunicatorMessage) {
        if ("privacy_setting_updated".equals(appLovinCommunicatorMessage.getTopic())) {
            this.z = s();
            c();
            return;
        }
        if ("network_sdk_version_updated".equals(appLovinCommunicatorMessage.getTopic())) {
            this.B = a(this.r);
            this.C = a(this.s);
            c();
        } else if ("live_networks_updated".equals(appLovinCommunicatorMessage.getTopic())) {
            this.A = a(a((List) appLovinCommunicatorMessage.getMessageData().getStringArrayList("live_networks"), true), (String) null);
            c();
        } else if ("test_mode_networks_updated".equals(appLovinCommunicatorMessage.getTopic())) {
            this.A = a((String) null, a((List) appLovinCommunicatorMessage.getMessageData().getStringArrayList("test_mode_networks"), false));
            c();
        }
    }

    @Override
    protected int d(int i) {
        if (i == f.APP_INFO.ordinal()) {
            return this.x.size();
        }
        if (i == f.MAX.ordinal()) {
            return this.y.size();
        }
        if (i == f.PRIVACY.ordinal()) {
            return this.z.size();
        }
        if (i == f.ADS.ordinal()) {
            return this.A.size();
        }
        if (i == f.INCOMPLETE_NETWORKS.ordinal()) {
            return this.B.size();
        }
        if (i == f.COMPLETED_NETWORKS.ordinal()) {
            return this.C.size();
        }
        return this.D.size();
    }

    private void y() {
        StringBuilder sb = new StringBuilder("\n========== MEDIATION DEBUGGER ==========");
        sb.append("\n========== APP INFO ==========");
        sb.append("\nDev Build - " + yp.c(this.f));
        sb.append("\nTest Mode - " + (this.f.l0().c() ? "enabled" : "disabled"));
        sb.append("\nTarget SDK - " + this.f.y().A().get("target_sdk"));
        sb.append("\n========== MAX ==========");
        String str = AppLovinSdk.VERSION;
        String str2 = (String) this.f.a(sj.U3);
        String b2 = v.b();
        sb.append("\nSDK Version - " + str);
        StringBuilder append = new StringBuilder().append("\nPlugin Version - ");
        if (!StringUtils.isValidString(str2)) {
            str2 = "None";
        }
        sb.append(append.append(str2).toString());
        StringBuilder append2 = new StringBuilder().append("\nAd Review Version - ");
        if (!StringUtils.isValidString(b2)) {
            b2 = "Disabled";
        }
        sb.append(append2.append(b2).toString());
        if (this.f.B0()) {
            String a2 = yp.a(this.f.g0());
            sb.append("\nUnity Version - " + (StringUtils.isValidString(a2) ? a2 : "None"));
        }
        sb.append("\n========== PRIVACY ==========");
        sb.append(a4.a(this.a));
        sb.append(this.f.u().g());
        sb.append("\n========== CMP (CONSENT MANAGEMENT PLATFORM) ==========");
        sb.append(this.f.k0().j());
        sb.append("\n========== NETWORK CONSENT STATUSES ==========");
        Iterator it = this.f.k0().i().iterator();
        while (it.hasNext()) {
            sb.append(((rn) it.next()).e());
        }
        sb.append("\n========== NETWORKS ==========");
        Iterator it2 = this.s.iterator();
        while (it2.hasNext()) {
            a(sb, ((ke) it2.next()).j());
        }
        Iterator it3 = this.r.iterator();
        while (it3.hasNext()) {
            a(sb, ((ke) it3.next()).j());
        }
        sb.append("\n========== AD UNITS ==========");
        Iterator it4 = this.g.iterator();
        while (it4.hasNext()) {
            a(sb, ((z) it4.next()).e());
        }
        sb.append("\n========== END ==========");
        com.applovin.impl.sdk.n.g("MediationDebuggerListAdapter", sb.toString());
        this.o.append(sb.toString());
    }

    @Override
    protected dc e(int i) {
        if (i == f.APP_INFO.ordinal()) {
            return new fj("APP INFO");
        }
        if (i == f.MAX.ordinal()) {
            return new fj("MAX");
        }
        if (i == f.PRIVACY.ordinal()) {
            return new fj("PRIVACY");
        }
        if (i == f.ADS.ordinal()) {
            return new fj("ADS");
        }
        if (i == f.INCOMPLETE_NETWORKS.ordinal()) {
            return new fj("INCOMPLETE SDK INTEGRATIONS");
        }
        if (i == f.COMPLETED_NETWORKS.ordinal()) {
            return new fj("COMPLETED SDK INTEGRATIONS");
        }
        return new fj("MISSING SDK INTEGRATIONS");
    }

    private void a(StringBuilder sb, String str) {
        String sb2 = sb.toString();
        if (sb2.length() + str.length() >= ((Integer) this.f.a(sj.t)).intValue()) {
            com.applovin.impl.sdk.n.g("MediationDebuggerListAdapter", sb2);
            this.o.append(sb2);
            sb.setLength(1);
        }
        sb.append(str);
    }

    private List i() {
        String str;
        ArrayList arrayList = new ArrayList(7);
        try {
            str = this.a.getPackageManager().getPackageInfo(this.a.getPackageName(), 0).versionName;
        } catch (Throwable unused) {
            str = null;
        }
        arrayList.add(dc.a().d("Package Name").c(this.a.getPackageName()).a());
        dc.b d2 = dc.a().d("App Version");
        if (!StringUtils.isValidString(str)) {
            str = "None";
        }
        arrayList.add(d2.c(str).a());
        arrayList.add(dc.a().d("OS").c(yp.d()).a());
        arrayList.add(dc.a().d("Account").c(StringUtils.isValidString(this.l) ? this.l : "None").a());
        arrayList.add(dc.a().d("Mediation Provider").c(StringUtils.isValidString(this.f.O()) ? this.f.O() : "None").a());
        arrayList.add(dc.a().d("OM SDK Version").c(this.f.W().c()).a());
        arrayList.add(a(com.applovin.impl.sdk.j.y0()));
        if (this.m != null) {
            arrayList.add(dc.a().d("Google Families Policy").c(String.valueOf(this.m)).a());
        }
        return arrayList;
    }

    private List p() {
        ArrayList arrayList = new ArrayList(7);
        arrayList.add(dc.a().d("SDK Version").c(AppLovinSdk.VERSION).a());
        String str = (String) this.f.a(sj.U3);
        dc.b d2 = dc.a().d("Plugin Version");
        if (!StringUtils.isValidString(str)) {
            str = "None";
        }
        arrayList.add(d2.c(str).a());
        dc.b d3 = dc.a().d("Ad Review Version");
        String b2 = v.b();
        if (StringUtils.isValidString(b2)) {
            String a2 = v.a();
            if (StringUtils.isValidString(a2)) {
                if (a2.equals(this.f.b0())) {
                    d3.c(b2);
                } else {
                    a(d3, "MAX Ad Review integrated with wrong SDK key. Please check that your " + (this.f.B0() ? "SDK key is downloaded" : "Gradle plugin snippet is integrated") + " from the correct account.");
                }
            } else {
                d3.c(b2);
            }
        } else {
            a(d3, "Integrating MAX Ad review is OPTIONAL. This feature gives developers unprecedented transparency into the creatives the users see in their apps.");
        }
        arrayList.add(d3.a());
        if (this.f.B0()) {
            String a3 = yp.a(this.f.g0());
            arrayList.add(b("Unity Version", StringUtils.isValidString(a3) ? a3 : "None"));
        }
        if (this.f.u().k()) {
            arrayList.add(l());
            if (this.f.u().e() == i4.a.UNIFIED) {
                arrayList.add(m());
            } else {
                arrayList.add(r());
                arrayList.add(u());
            }
        }
        return arrayList;
    }

    private List s() {
        ArrayList arrayList = new ArrayList(e.COUNT.ordinal());
        arrayList.add(k());
        if (StringUtils.isValidString(this.f.k0().k())) {
            arrayList.add(q());
        } else {
            arrayList.add(new xh(a4.b(), false, this.a));
        }
        arrayList.add(new xh(a4.c(), true, this.a));
        arrayList.add(new xh(a4.a(), true, this.a));
        return arrayList;
    }

    private List f() {
        boolean c2 = this.f.l0().c();
        List b2 = this.f.l0().b();
        if (c2) {
            return a((String) null, a(b2, false));
        }
        return a(a(b2, true), (String) null);
    }

    private dc b(String str, String str2) {
        dc.b d2 = dc.a().d(str);
        if (StringUtils.isValidString(str2)) {
            d2.c(str2);
        } else {
            d2.a(R.drawable.applovin_ic_x_mark);
            d2.b(t3.a(R.color.applovin_sdk_xmarkColor, this.a));
        }
        return d2.a();
    }

    private dc l() {
        if (this.f.u().e() == i4.a.UNIFIED) {
            return dc.a().d("MAX Terms and Privacy Policy Flow").a(this.a).a(true).a();
        }
        return dc.a().d("MAX Terms Flow").a(R.drawable.applovin_ic_x_mark).b(t3.a(R.color.applovin_sdk_xmarkColor, this.a)).b("MAX Terms Flow").a("MAX Terms Flow is deprecated and will be removed in a future SDK version.\n\nFor more details, see:\nhttps://developers.applovin.com/en/android/overview/terms-and-privacy-policy-flow").a(true).a();
    }

    private dc m() {
        boolean hasSupportedCmp = this.f.o().hasSupportedCmp();
        return dc.a().d("Google UMP SDK").a(hasSupportedCmp ? R.drawable.applovin_ic_check_mark_bordered : R.drawable.applovin_ic_x_mark).b(t3.a(hasSupportedCmp ? R.color.applovin_sdk_checkmarkColor : R.color.applovin_sdk_xmarkColor, this.a)).b("Google UMP SDK").a("In order to use MAX Terms and Privacy Policy Flow, you must add the Google User Messaging Platform SDK as a dependency.\n\nFor more details, see:\nhttps://developers.applovin.com/en/android/overview/terms-and-privacy-policy-flow").a(!hasSupportedCmp).a();
    }

    private dc r() {
        boolean z = this.f.u().h() != null;
        return dc.a().d("Privacy Policy URL").a(z ? R.drawable.applovin_ic_check_mark_bordered : R.drawable.applovin_ic_x_mark).b(t3.a(z ? R.color.applovin_sdk_checkmarkColor : R.color.applovin_sdk_xmarkColor, this.a)).a(true).a();
    }

    private dc u() {
        dc.b d2 = dc.a().d("Terms of Service URL");
        if (this.f.u().i() != null) {
            d2.a(R.drawable.applovin_ic_check_mark_bordered);
            d2.b(t3.a(R.color.applovin_sdk_checkmarkColor, this.a));
            d2.a(true);
        } else {
            d2.c("None");
            d2.a(false);
        }
        return d2.a();
    }

    private dc k() {
        String d2 = this.f.k0().d();
        boolean isValidString = StringUtils.isValidString(d2);
        boolean isValidString2 = StringUtils.isValidString(this.f.k0().k());
        dc.b d3 = dc.a(dc.c.DETAIL).d("CMP (Consent Management Platform)");
        if (!isValidString) {
            d2 = isValidString2 ? AnalyticsEvents.PARAMETER_DIALOG_OUTCOME_VALUE_UNKNOWN : "None";
        }
        dc.b c2 = d3.c(d2);
        if (this.n) {
            c2.a(true);
            if (isValidString2) {
                c2.a(this.a);
            } else {
                c2.b("TC Data Not Found");
                c2.a("By January 16, 2024, if you use Google AdMob or Google Ad Manager, you must also use a Google-certified CMP. Test your app in EEA and UK regions to ensure that this warning doesn't appear in those regions.\n\nFor more details, see:\nhttps://support.google.com/admob/answer/13554116");
                boolean z = this.f.r().getConsentFlowUserGeography() == AppLovinSdkConfiguration.ConsentFlowUserGeography.GDPR;
                c2.a(z ? R.drawable.applovin_ic_x_mark : R.drawable.applovin_ic_warning);
                c2.b(t3.a(z ? R.color.applovin_sdk_xmarkColor : R.color.applovin_sdk_warningColor, this.a));
            }
        }
        return c2.a();
    }

    private void c(List list) {
        Iterator it = list.iterator();
        while (it.hasNext()) {
            ke keVar = (ke) it.next();
            if (!keVar.E()) {
                if (keVar.q() != ke.a.INCOMPLETE_INTEGRATION && keVar.q() != ke.a.INVALID_INTEGRATION) {
                    if (keVar.q() == ke.a.COMPLETE) {
                        this.s.add(keVar);
                    } else if (keVar.q() == ke.a.MISSING) {
                        this.t.add(keVar);
                    }
                } else {
                    this.r.add(keVar);
                }
            }
        }
    }

    private void d(List list) {
        Iterator it = list.iterator();
        while (it.hasNext()) {
            ke keVar = (ke) it.next();
            if (keVar.x() == ke.b.READY) {
                this.w.add(keVar);
            }
        }
    }

    private List a(String str, String str2) {
        ArrayList arrayList = new ArrayList(3);
        arrayList.add(dc.a().d("View Ad Units (" + this.g.size() + ")").a(this.a).a(true).a());
        arrayList.add(a(str));
        arrayList.add(b(str2));
        if (!this.h.isEmpty()) {
            arrayList.add(dc.a().d("Selective Init Ad Units (" + this.h.size() + ")").a(this.a).a(true).a());
        }
        arrayList.add(dc.a().d("Test Mode Enabled").c(String.valueOf(this.f.l0().c())).a());
        return arrayList;
    }

    private dc b(String str) {
        dc.b a2 = dc.a();
        if (this.f.l0().c()) {
            a2.a(this.a);
        }
        dc.b d2 = a2.d((StringUtils.isValidString(str) ? "" : "Select ") + "Test Mode Network");
        if (!this.f.l0().c()) {
            str = "Enable";
        }
        return d2.c(str).c(-16776961).a("Please re-launch the app to enable test mode. This will allow the selection of test mode networks.").a(true).a();
    }

    private void b(List list) {
        HashSet hashSet = new HashSet();
        HashSet hashSet2 = new HashSet();
        Iterator it = list.iterator();
        while (it.hasNext()) {
            a0 f2 = ((z) it.next()).f();
            Iterator it2 = f2.a().iterator();
            while (it2.hasNext()) {
                hashSet.add(((ir) it2.next()).b());
            }
            Iterator it3 = f2.e().iterator();
            while (it3.hasNext()) {
                hashSet2.add(((ir) it3.next()).b());
            }
        }
        this.u = new ArrayList(hashSet);
        this.v = new ArrayList(hashSet2);
        Collections.sort(this.u);
        Collections.sort(this.v);
    }

    private String a(y0.b bVar, String str, String str2) {
        if (TextUtils.isEmpty(str)) {
            str = "app-ads.txt URL";
        }
        int i = a.a[bVar.ordinal()];
        if (i == 1) {
            return "Could not retrieve app details 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 a valid developer URL from the Play Store listing.";
        }
        if (i == 3) {
            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 != 4) {
            return i != 5 ? "" : "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 void b(boolean z) {
        this.q = z;
    }

    @Override
    protected int b() {
        return f.COUNT.ordinal();
    }

    private dc a(String str, c cVar) {
        int i;
        int a2;
        if (cVar == c.SUCCESS) {
            i = R.drawable.applovin_ic_check_mark_bordered;
            a2 = t3.a(R.color.applovin_sdk_checkmarkColor, this.a);
        } else if (cVar == c.WARNING) {
            i = R.drawable.applovin_ic_warning;
            a2 = t3.a(R.color.applovin_sdk_warningColor, this.a);
        } else {
            i = R.drawable.applovin_ic_x_mark;
            a2 = t3.a(R.color.applovin_sdk_xmarkColor, this.a);
        }
        return dc.a().d("app-ads.txt").a(i).b(a2).b("app-ads.txt").a(str).a(true).a();
    }

    private dc a(boolean z) {
        return dc.a().d("Java 8").a(z ? R.drawable.applovin_ic_check_mark_bordered : R.drawable.applovin_ic_x_mark).b(t3.a(z ? R.color.applovin_sdk_checkmarkColor : R.color.applovin_sdk_xmarkColor, this.a)).b("Upgrade to Java 8").a("For optimal performance, please enable Java 8 support. This will be required in a future SDK release. See: https://developers.applovin.com/en/android/overview/integration").a(!z).a();
    }

    private String a(List list, boolean z) {
        if (list == null || list.isEmpty()) {
            return null;
        }
        if (z) {
            for (jc jcVar : this.u) {
                if (list.equals(jcVar.b())) {
                    return jcVar.a();
                }
            }
            for (jc jcVar2 : this.v) {
                if (list.equals(jcVar2.b())) {
                    return jcVar2.a();
                }
            }
        } else {
            for (ke keVar : this.w) {
                if (list.equals(Collections.singletonList(keVar.m()))) {
                    return keVar.g();
                }
            }
        }
        return lm$$ExternalSyntheticBackport0.m(",", list);
    }

    private List a(List list) {
        ArrayList arrayList = new ArrayList(list.size());
        Iterator it = list.iterator();
        while (it.hasNext()) {
            arrayList.add(new cg((ke) it.next(), this.a));
        }
        return arrayList;
    }

    private dc a(String str) {
        dc.b a2 = dc.a();
        if (!this.f.l0().c()) {
            a2.a(this.a);
        }
        dc.b d2 = a2.d((StringUtils.isValidString(str) ? "" : "Select ") + "Live Network");
        if (this.f.l0().c()) {
            str = "Enable";
        }
        return d2.c(str).c(-16776961).a("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();
    }

    public void a(List list, List list2, List list3, List list4, String str, String str2, String str3, Boolean bool, boolean z, com.applovin.impl.sdk.j jVar) {
        this.f = jVar;
        this.g = list2;
        this.h = list3;
        this.i = list4;
        this.j = str;
        this.k = str2;
        this.l = str3;
        this.m = bool;
        this.n = z;
        if (list != null && this.p.compareAndSet(false, true)) {
            jVar.J();
            if (com.applovin.impl.sdk.n.a()) {
                jVar.J().a("MediationDebuggerListAdapter", "Populating networks...");
            }
            jVar.k0().a(list);
            c(list);
            b(list2);
            d(this.s);
            this.x.addAll(i());
            this.y.addAll(p());
            this.z.addAll(s());
            this.A.addAll(f());
            this.B = a(this.r);
            this.C = a(this.s);
            this.D = a(this.t);
            ArrayList arrayList = new ArrayList(3);
            arrayList.add("privacy_setting_updated");
            arrayList.add("network_sdk_version_updated");
            arrayList.add("live_networks_updated");
            arrayList.add("test_mode_networks_updated");
            AppLovinCommunicator.getInstance(this.a).subscribe(this, arrayList);
            y();
        }
        AppLovinSdkUtils.runOnUiThread(new Runnable() {
            @Override
            public final void run() {
                te.this.notifyDataSetChanged();
            }
        });
    }

    public boolean a(dc dcVar) {
        if (dcVar.k() == null) {
            return false;
        }
        return "MAX Terms and Privacy Policy Flow".equals(dcVar.k().toString());
    }

    @Override
    public void a(y0.b bVar, String str) {
        if (bVar == y0.b.APP_DETAILS_NOT_FOUND) {
            this.f.J();
            if (com.applovin.impl.sdk.n.a()) {
                this.f.J().a("MediationDebuggerListAdapter", "Could not retrieve app details for this package name; app-ads.txt row will not show on the mediation debugger.");
                return;
            }
            return;
        }
        this.y.add(a(a(bVar, str, null), a(bVar)));
        c();
    }

    @Override
    public void a(w0 w0Var, String str) {
        x0 x0Var;
        String a2;
        c a3;
        c cVar;
        String str2;
        ArrayList arrayList = new ArrayList();
        for (x0 x0Var2 : this.i) {
            List list = (List) w0Var.a().get(x0Var2.b());
            if (list == null || !list.contains(x0Var2)) {
                this.f.J();
                if (com.applovin.impl.sdk.n.a()) {
                    this.f.J().b("MediationDebuggerListAdapter", str + " is missing a required entry: " + x0Var2.d());
                }
                arrayList.add(x0Var2);
            }
        }
        if (arrayList.isEmpty()) {
            str2 = "All required entries found at " + str + ".";
            cVar = c.SUCCESS;
        } else {
            Iterator it = arrayList.iterator();
            while (true) {
                if (it.hasNext()) {
                    x0Var = (x0) it.next();
                    if (x0Var.g()) {
                        break;
                    }
                } else {
                    x0Var = null;
                    break;
                }
            }
            if (x0Var != null) {
                y0.b bVar = y0.b.MISSING_APPLOVIN_ENTRIES;
                a2 = a(bVar, str, x0Var.d());
                a3 = a(bVar);
            } else {
                y0.b bVar2 = y0.b.MISSING_NON_APPLOVIN_ENTRIES;
                a2 = a(bVar2, str, null);
                a3 = a(bVar2);
            }
            String str3 = a2;
            cVar = a3;
            str2 = str3;
        }
        this.y.add(a(str2, cVar));
        c();
    }

    private void a(dc.b bVar, String str) {
        bVar.b("MAX Ad Review").a(str).a(R.drawable.applovin_ic_x_mark).b(t3.a(R.color.applovin_sdk_xmarkColor, this.a)).a(true);
    }

    private c a(y0.b bVar) {
        int i = a.a[bVar.ordinal()];
        if (i == 1 || i == 2 || i == 3 || i == 4) {
            return c.ERROR;
        }
        if (i != 5) {
            return c.ERROR;
        }
        return c.WARNING;
    }
}