导航菜单

页面标题

页面副标题

Clean Center v0.5.5 - sm.java 源代码

正在查看: Clean Center v0.5.5 应用的 sm.java JAVA 源代码文件

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


package com.applovin.impl;

import android.app.Activity;
import com.applovin.impl.tm;
import com.applovin.sdk.AppLovinSdk;
import com.applovin.sdk.AppLovinSdkConfiguration;
import java.util.Map;
import java.util.concurrent.TimeUnit;

public class sm extends yl {
    private final com.applovin.impl.sdk.j h;

    @Override
    public void run() {
        throw new UnsupportedOperationException("Method not decompiled: com.applovin.impl.sm.run():void");
    }

    public sm(com.applovin.impl.sdk.j jVar) {
        super("TaskInitializeSdk", jVar, true);
        this.h = jVar;
    }

    public void f() {
        sr.f(this.h);
    }

    private void g() {
        if (this.h.K().c()) {
            return;
        }
        Activity m0 = this.h.m0();
        if (m0 != null) {
            this.h.K().a(m0);
        } else {
            this.h.i0().a(new jn(this.h, true, "initializeAdapters", new Runnable() {
                @Override
                public final void run() {
                    sm.this.e();
                }
            }), tm.b.CORE, TimeUnit.SECONDS.toMillis(1L));
        }
    }

    public void e() {
        this.h.K().a(this.h.e().b());
    }

    private void h() {
        boolean c = this.h.g0().c();
        Map m = this.h.x().m();
        Map G = this.h.x().G();
        String a = c ? this.h.x().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>";
        String str = c ? m.get("idfv") + " (use this for test devices)" : "<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>";
        pc pcVar = new pc();
        pcVar.a().a("=====AppLovin SDK=====");
        pcVar.a("===SDK Versions===").a("Version", AppLovinSdk.VERSION).a("Plugin Version", this.h.a(sj.K3)).a("Ad Review Version", v.b()).a("OM SDK Version", this.h.V().c());
        pcVar.a("===Device Info===").a("OS", yp.d()).a("GAID", a).a("App Set ID", str).a("Model", m.get("model")).a("Locale", m.get("locale")).a("Emulator", m.get("sim")).a("Tablet", m.get("is_tablet"));
        pcVar.a("===App Info===").a("Application ID", G.get("package_name")).a("Target SDK", G.get("target_sdk")).a("ExoPlayer Version", Integer.valueOf(yp.f()));
        pcVar.a("===SDK Settings===").a("SDK Key", this.h.a0()).a("Mediation Provider", this.h.N()).a("TG", wp.a(this.h)).a("MD", this.h.a(sj.v)).a("Test Mode On", Boolean.valueOf(this.h.k0().c())).a("Verbose Logging On", Boolean.valueOf(c));
        pcVar.a("===Privacy States===\nPlease review AppLovin MAX documentation to be compliant with regional privacy policies.").a(a4.a(a()));
        pcVar.a("===MAX Terms and Privcay Policy Flow===");
        h4 u = this.h.u();
        boolean j = u.j();
        pcVar.a("Enabled", Boolean.valueOf(j));
        if (j) {
            AppLovinSdkConfiguration.ConsentFlowUserGeography consentFlowUserGeography = this.h.s().getConsentFlowUserGeography();
            AppLovinSdkConfiguration.ConsentFlowUserGeography e = u.e();
            AppLovinSdkConfiguration.ConsentFlowUserGeography consentFlowUserGeography2 = AppLovinSdkConfiguration.ConsentFlowUserGeography.GDPR;
            String str2 = "Other";
            pcVar.a("Consent Flow Geography", consentFlowUserGeography == consentFlowUserGeography2 ? "GDPR" : consentFlowUserGeography == AppLovinSdkConfiguration.ConsentFlowUserGeography.OTHER ? "Other" : "Unknown");
            if (yp.c(this.h)) {
                if (e == consentFlowUserGeography2) {
                    str2 = "GDPR";
                } else if (consentFlowUserGeography != AppLovinSdkConfiguration.ConsentFlowUserGeography.OTHER) {
                    str2 = "None";
                }
                pcVar.a("Debug User Geography", str2);
            }
        }
        pcVar.a("Privacy Policy URI", u.g()).a("Terms of Service URI", u.h());
        pcVar.a("===CMP (CONSENT MANAGEMENT PLATFORM)===").a(this.h.j0().j());
        pcVar.a();
        com.applovin.impl.sdk.n.g("AppLovinSdk", pcVar.toString());
    }
}