导航菜单

页面标题

页面副标题

All File Recovery v1.0.2 - C2903q5.java 源代码

正在查看: All File Recovery v1.0.2 应用的 C2903q5.java JAVA 源代码文件

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


package com.applovin.impl;

import android.app.Activity;
import com.applovin.impl.C2910r5;
import com.applovin.impl.sdk.C2932k;
import com.applovin.impl.sdk.C2936o;
import com.applovin.sdk.AppLovinSdk;
import com.applovin.sdk.AppLovinSdkConfiguration;
import com.facebook.internal.C4906a;
import com.mbridge.msdk.foundation.entity.CampaignEx;
import java.util.Map;
import java.util.concurrent.TimeUnit;
import r1.C6617a;

public class C2903q5 extends AbstractRunnableC2976w4 {

    private final C2932k f42353g;

    public C2903q5(C2932k c2932k) {
        super("TaskInitializeSdk", c2932k, true);
        this.f42353g = c2932k;
    }

    private void f() {
        if (this.f42353g.S().c()) {
            return;
        }
        Activity u02 = this.f42353g.u0();
        if (u02 != null) {
            this.f42353g.S().a(u02);
            return;
        }
        this.f42353g.E().a(C2989y1.f43480i0, this.f43372b + ":maybeInitializeAdapters()");
        this.f42353g.q0().a(new C2791f6(this.f42353g, true, "initializeAdapters", new Runnable() {
            @Override
            public final void run() {
                C2903q5.this.e();
            }
        }), C2910r5.b.CORE, TimeUnit.SECONDS.toMillis(1L));
    }

    private void g() {
        String str;
        boolean c10 = this.f42353g.o0().c();
        Map n10 = this.f42353g.B().n();
        Map K10 = this.f42353g.B().K();
        String a10 = c10 ? this.f42353g.B().f().a() : "<Enable verbose logging to see the GAID to use for test devices - https://monetization-support.applovin.com/hc/en-us/articles/236114328-How-can-I-expose-verbose-logging-for-the-SDK>";
        if (c10) {
            str = n10.get("idfv") + " (use this for test devices)";
        } else {
            str = "<Enable verbose logging to see the App Set ID to use for test devices - https://monetization-support.applovin.com/hc/en-us/articles/236114328-How-can-I-expose-verbose-logging-for-the-SDK>";
        }
        C2876n2 c2876n2 = new C2876n2();
        c2876n2.a().a("=====AppLovin SDK=====");
        c2876n2.a("===SDK Versions===").a("Version", AppLovinSdk.VERSION).a("Plugin Version", this.f42353g.a(C2837l4.f41111B3)).a("Ad Review Version", C2808i.b()).a("OM SDK Version", this.f42353g.d0().c());
        c2876n2.a("===Device Info===").a("OS", AbstractC3002z6.d()).a("GAID", a10).a("App Set ID", str).a(C6617a.f91775X, n10.get("model")).a("Locale", n10.get(T6.d.f17647B)).a("Emulator", n10.get("sim")).a("Tablet", n10.get("is_tablet"));
        c2876n2.a("===App Info===").a("Application ID", K10.get(CampaignEx.JSON_KEY_PACKAGE_NAME)).a("Target SDK", K10.get("target_sdk"));
        c2876n2.a("===SDK Settings===").a("SDK Key", this.f42353g.i0()).a("Mediation Provider", this.f42353g.V()).a("TG", C2994y6.a(this.f42353g)).a("MD", this.f42353g.a(C2837l4.f41439t)).a("Test Mode On", Boolean.valueOf(this.f42353g.s0().c())).a("Verbose Logging On", Boolean.valueOf(c10));
        c2876n2.a("===Privacy States===\nPlease review AppLovin MAX documentation to be compliant with regional privacy policies.").a(AbstractC2833l0.a(a()));
        c2876n2.a("===MAX Terms and Privcay Policy Flow===");
        C2890p0 y10 = this.f42353g.y();
        boolean j10 = y10.j();
        c2876n2.a("Enabled", Boolean.valueOf(j10));
        if (j10) {
            AppLovinSdkConfiguration.ConsentFlowUserGeography consentFlowUserGeography = this.f42353g.w().getConsentFlowUserGeography();
            AppLovinSdkConfiguration.ConsentFlowUserGeography d10 = y10.d();
            AppLovinSdkConfiguration.ConsentFlowUserGeography consentFlowUserGeography2 = AppLovinSdkConfiguration.ConsentFlowUserGeography.GDPR;
            String str2 = "Other";
            c2876n2.a("Consent Flow Geography", consentFlowUserGeography == consentFlowUserGeography2 ? "GDPR" : consentFlowUserGeography == AppLovinSdkConfiguration.ConsentFlowUserGeography.OTHER ? "Other" : "Unknown");
            if (AbstractC3002z6.c(this.f42353g)) {
                if (d10 == consentFlowUserGeography2) {
                    str2 = "GDPR";
                } else if (consentFlowUserGeography != AppLovinSdkConfiguration.ConsentFlowUserGeography.OTHER) {
                    str2 = "None";
                }
                c2876n2.a("Debug User Geography", str2);
            }
        }
        c2876n2.a("Privacy Policy URI", y10.f()).a("Terms of Service URI", y10.h());
        c2876n2.a("===CMP (CONSENT MANAGEMENT PLATFORM)===").a(this.f42353g.r0().i());
        c2876n2.a();
        C2936o.g("AppLovinSdk", c2876n2.toString());
    }

    @Override
    public void run() {
        String str;
        C2936o c2936o;
        String str2;
        StringBuilder a10;
        str = "failed";
        long currentTimeMillis = System.currentTimeMillis();
        if (C2936o.a()) {
            this.f43373c.a(this.f43372b, "Initializing AppLovin SDK v" + AppLovinSdk.VERSION + "...");
        }
        try {
            this.f42353g.H().b(a());
            this.f42353g.H().e(a());
            this.f42353g.q0().a((AbstractRunnableC2976w4) new C2984x4(this.f42353g), C2910r5.b.OTHER);
            this.f42353g.B().U();
            this.f42353g.l0().c();
            this.f42353g.z().l();
            if (AbstractC3002z6.c(this.f42353g)) {
                this.f42353g.a();
            }
            this.f42353g.Y0();
            this.f42353g.p().collectAppHubData();
            g();
            f();
            this.f42353g.a(true);
            this.f42353g.e0().b();
            this.f42353g.k().maybeFireAppKilledWhilePlayingAdPostback();
            this.f42353g.G().maybeTrackAppOpenEvent();
            this.f42353g.A().a();
            if (((Boolean) this.f42353g.a(C2837l4.f41173J2)).booleanValue()) {
                this.f42353g.x0().b();
            }
            if (((Boolean) this.f42353g.a(C2837l4.f41241T0)).booleanValue()) {
                this.f42353g.h().b();
            } else {
                this.f42353g.h().g();
            }
            if (this.f42353g.U().g() || (((Boolean) this.f42353g.a(AbstractC2796g3.f40792Q6)).booleanValue() && AbstractC3002z6.c(this.f42353g) && this.f42353g.G0())) {
                this.f42353g.U().e();
            }
            if (this.f42353g.g0() != null) {
                this.f42353g.g0().b((String) this.f42353g.a(C2837l4.f41447u));
            }
            this.f42353g.d0().i();
            if (!C2936o.a()) {
                return;
            }
            c2936o = this.f43373c;
            str2 = this.f43372b;
            a10 = N.a.a("AppLovin SDK ");
            a10.append(AppLovinSdk.VERSION);
            a10.append(" initialization ");
        } catch (Throwable th) {
            try {
                C2936o.c("AppLovinSdk", "Failed to initialize SDK!", th);
                this.f42353g.a(false);
                a(th);
                if (((Boolean) this.f42353g.a(C2837l4.f41351i)).booleanValue()) {
                    this.f42353g.e0().a();
                }
                if (((Boolean) this.f42353g.a(C2837l4.f41343h)).booleanValue()) {
                    this.f42353g.U0();
                }
                if (this.f42353g.g0() != null) {
                    this.f42353g.g0().b((String) this.f42353g.a(C2837l4.f41447u));
                }
                this.f42353g.d0().i();
                if (!C2936o.a()) {
                    return;
                }
                c2936o = this.f43373c;
                str2 = this.f43372b;
                a10 = N.a.a("AppLovin SDK ");
                a10.append(AppLovinSdk.VERSION);
                a10.append(" initialization ");
            } catch (Throwable th2) {
                if (this.f42353g.g0() != null) {
                    this.f42353g.g0().b((String) this.f42353g.a(C2837l4.f41447u));
                }
                this.f42353g.d0().i();
                if (C2936o.a()) {
                    C2936o c2936o2 = this.f43373c;
                    String str3 = this.f43372b;
                    StringBuilder sb2 = new StringBuilder("AppLovin SDK ");
                    sb2.append(AppLovinSdk.VERSION);
                    sb2.append(" initialization ");
                    sb2.append(this.f42353g.B0() ? C4906a.f52912U : "failed");
                    sb2.append(" in ");
                    sb2.append(System.currentTimeMillis() - currentTimeMillis);
                    sb2.append("ms");
                    c2936o2.a(str3, sb2.toString());
                }
                throw th2;
            }
        }
    }

    public void e() {
        this.f42353g.S().a(this.f42353g.e().b());
    }
}