导航菜单

页面标题

页面副标题

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

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

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


package com.applovin.impl.sdk;

import android.app.Activity;
import android.content.Context;
import android.content.SharedPreferences;
import android.preference.PreferenceManager;
import android.text.TextUtils;
import android.util.Log;
import com.applovin.impl.ag;
import com.applovin.impl.ba;
import com.applovin.impl.c5;
import com.applovin.impl.ca;
import com.applovin.impl.cd;
import com.applovin.impl.d4;
import com.applovin.impl.e4;
import com.applovin.impl.fc;
import com.applovin.impl.h4;
import com.applovin.impl.hr;
import com.applovin.impl.jm;
import com.applovin.impl.jn;
import com.applovin.impl.ka;
import com.applovin.impl.la;
import com.applovin.impl.mediation.MaxSegmentCollectionImpl;
import com.applovin.impl.mediation.MediationServiceImpl;
import com.applovin.impl.ob;
import com.applovin.impl.oe;
import com.applovin.impl.oj;
import com.applovin.impl.pe;
import com.applovin.impl.pg;
import com.applovin.impl.privacy.cmp.CmpServiceImpl;
import com.applovin.impl.qn;
import com.applovin.impl.qr;
import com.applovin.impl.sdk.array.ArrayService;
import com.applovin.impl.sdk.nativeAd.AppLovinNativeAdService;
import com.applovin.impl.sdk.network.PostbackServiceImpl;
import com.applovin.impl.sdk.utils.CollectionUtils;
import com.applovin.impl.sdk.utils.JsonUtils;
import com.applovin.impl.sdk.utils.StringUtils;
import com.applovin.impl.sj;
import com.applovin.impl.sm;
import com.applovin.impl.te;
import com.applovin.impl.tj;
import com.applovin.impl.tm;
import com.applovin.impl.u0;
import com.applovin.impl.ue;
import com.applovin.impl.uj;
import com.applovin.impl.v;
import com.applovin.impl.vj;
import com.applovin.impl.wh;
import com.applovin.impl.wn;
import com.applovin.impl.wp;
import com.applovin.impl.x4;
import com.applovin.impl.xe;
import com.applovin.impl.ye;
import com.applovin.impl.yl;
import com.applovin.impl.yp;
import com.applovin.impl.ze;
import com.applovin.mediation.MaxAdFormat;
import com.applovin.mediation.MaxSegmentCollection;
import com.applovin.mediation.adapter.MaxAdapter;
import com.applovin.sdk.AppLovinMediationProvider;
import com.applovin.sdk.AppLovinSdk;
import com.applovin.sdk.AppLovinSdkConfiguration;
import com.applovin.sdk.AppLovinSdkInitializationConfiguration;
import com.applovin.sdk.AppLovinSdkSettings;
import com.applovin.sdk.AppLovinSdkUtils;
import java.lang.ref.WeakReference;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Collections;
import java.util.HashMap;
import java.util.Iterator;
import java.util.List;
import java.util.Map;
import java.util.concurrent.atomic.AtomicBoolean;
import java.util.concurrent.atomic.AtomicReference;
import org.json.JSONArray;
import org.json.JSONException;
import org.json.JSONObject;

public class j {
    public static j u0;
    protected static Context v0;
    private static final boolean x0;
    private static volatile com.applovin.impl.q y0;
    private String a;
    private WeakReference b;
    private List c0;
    private long d;
    private AppLovinSdkSettings f;
    private MaxSegmentCollection g;
    private boolean g0;
    private String h;
    private String l0;
    private volatile AppLovinSdk m;
    private AppLovinSdkInitializationConfiguration m0;
    private AppLovinSdk.SdkInitializationListener p0;
    private AppLovinSdk.SdkInitializationListener q0;
    private static final Object z0 = new Object();
    private static final long w0 = System.currentTimeMillis();
    private final AtomicBoolean e = new AtomicBoolean();
    private final AtomicReference i = new AtomicReference();
    private final AtomicReference j = new AtomicReference();
    private final AtomicReference k = new AtomicReference();
    private final AtomicReference l = new AtomicReference();
    private final n n = new n(this);
    private final la o = new la(this);
    private final AtomicReference p = new AtomicReference();
    private final AtomicReference q = new AtomicReference();
    private final AtomicReference r = new AtomicReference();
    private final AtomicReference s = new AtomicReference();
    private final AtomicReference t = new AtomicReference();
    private final AtomicReference u = new AtomicReference();
    private final AtomicReference v = new AtomicReference();
    private final AtomicReference w = new AtomicReference();
    private final AtomicReference x = new AtomicReference();
    private final AtomicReference y = new AtomicReference();
    private final AtomicReference z = new AtomicReference();
    private final AtomicReference A = new AtomicReference();
    private final AtomicReference B = new AtomicReference();
    private final AtomicReference C = new AtomicReference();
    private final AtomicReference D = new AtomicReference();
    private final AtomicReference E = new AtomicReference();
    private final AtomicReference F = new AtomicReference();
    private final AtomicReference G = new AtomicReference();
    private final AtomicReference H = new AtomicReference();
    private final AtomicReference I = new AtomicReference();
    private final AtomicReference J = new AtomicReference();
    private final AtomicReference K = new AtomicReference();
    private final AtomicReference L = new AtomicReference();
    private final AtomicReference M = new AtomicReference();
    private final AtomicReference N = new AtomicReference();
    private final AtomicReference O = new AtomicReference();
    private final AtomicReference P = new AtomicReference();
    private final AtomicReference Q = new AtomicReference();
    private final AtomicReference R = new AtomicReference();
    private final AtomicReference S = new AtomicReference();
    private final AtomicReference T = new AtomicReference();
    private final AtomicReference U = new AtomicReference();
    private final AtomicReference V = new AtomicReference();
    private final AtomicReference W = new AtomicReference();
    private final AtomicReference X = new AtomicReference();
    private final AtomicReference Y = new AtomicReference();
    private final AtomicReference Z = new AtomicReference();
    private final AtomicReference a0 = new AtomicReference();
    private final AtomicReference b0 = new AtomicReference();
    private final Object d0 = new Object();
    private final AtomicBoolean e0 = new AtomicBoolean(true);
    private final AtomicBoolean f0 = new AtomicBoolean();
    private boolean h0 = false;
    private boolean i0 = false;
    private boolean j0 = false;
    private int k0 = 0;
    private final Object n0 = new Object();
    private AppLovinSdkConfiguration o0 = new SdkConfigurationImpl(null, this);
    private final AtomicBoolean r0 = new AtomicBoolean(false);
    private final yl s0 = new jn(this, true, "scheduleAdLoadIntegrationError", new Runnable() {
        @Override
        public final void run() {
            j.this.C0();
        }
    });
    private final yl t0 = new jn(this, true, "sdkInit", new Runnable() {
        @Override
        public final void run() {
            j.this.D0();
        }
    });
    private final long c = System.currentTimeMillis();

    class a implements jm.b {
        a() {
        }

        @Override
        public void a(JSONObject jSONObject) {
            boolean z = jSONObject != null && jSONObject.length() > 0;
            j.this.c(jSONObject);
            u0.b(j.this);
            e4.a(jSONObject, z, j.this);
            j.this.M().a(JsonUtils.getBoolean(jSONObject, "smd", Boolean.FALSE).booleanValue(), JsonUtils.getInt(jSONObject, "smd_delay_sec", 2));
            j.this.D().a();
            j jVar = j.this;
            jVar.c0 = jVar.a(jSONObject);
            if (z) {
                List<String> explode = CollectionUtils.explode(JsonUtils.getString(jSONObject, "eaaui", ""));
                j jVar2 = j.this;
                jVar2.o0 = new SdkConfigurationImpl(explode, jVar2);
            }
            j.this.k0().a(jSONObject);
            j.this.b(jSONObject);
            fc.b(((Boolean) j.this.a(sj.c6)).booleanValue());
            fc.a(((Boolean) j.this.a(sj.d6)).booleanValue());
            j.this.K0();
            if (!((Boolean) j.this.a(sj.f3)).booleanValue() || z || !e4.a(j.m())) {
                j.this.J0();
                return;
            }
            j.this.I();
            if (n.a()) {
                j.this.I().d("AppLovinSdk", "SDK initialized with no internet connection - listening for connection");
            }
            j.this.P0();
        }
    }

    class c implements jm.b {
        c() {
        }

        @Override
        public void a(JSONObject jSONObject) {
            if (jSONObject != null && jSONObject.length() > 0) {
                j.this.c(jSONObject);
            }
            j.this.e.set(false);
            j.this.J0();
        }
    }

    static {
        try {
            AppLovinSdkUtils.runOnUiThread(new Runnable() {
                @Override
                public final void run() {
                    yp.c();
                }
            });
            x0 = true;
        } catch (Throwable unused) {
            x0 = false;
        }
    }

    public j(Context context) {
        this.g0 = false;
        this.f = new AppLovinSdkSettings(context);
        this.g0 = true;
        if (!w0()) {
            throw new RuntimeException("As of version 12.0.0, the AppLovin MAX SDK requires Java 8. For more information visit our docs: https://developers.applovin.com/en/android/overview/integration");
        }
        v0 = context.getApplicationContext();
        if (context instanceof Activity) {
            this.b = new WeakReference((Activity) context);
        }
        if (u0 == null) {
            u0 = this;
        } else {
            n.h("AppLovinSdk", "Multiple SDK instances detected");
        }
    }

    public void A0() {
        if (i0().d()) {
            return;
        }
        I();
        if (n.a()) {
            I().a("AppLovinSdk", "Timing out adapters init...");
        }
        i0().e();
        H0();
    }

    public void B0() {
        tm i0 = i0();
        int i = this.k0 + 1;
        this.k0 = i;
        i0.a((yl) new jm(i, this, new c()), tm.b.CORE);
    }

    public void C0() {
        if (y0()) {
            ob.b(this);
        }
    }

    public void D0() {
        synchronized (this.d0) {
            boolean a2 = e4.a(m());
            if (!y0()) {
                I();
                if (n.a()) {
                    I().a("AppLovinSdk", "non-MAX mediation detected, mediation provider is: " + N());
                }
            }
            if (!((Boolean) a(sj.g3)).booleanValue() || a2) {
                O0();
            }
            if (((Boolean) a(sj.f3)).booleanValue() && !a2) {
                I();
                if (n.a()) {
                    I().d("AppLovinSdk", "SDK initialized with no internet connection - listening for connection");
                }
                P0();
            }
        }
    }

    public void E0() {
        if (u0()) {
            return;
        }
        this.s0.run();
    }

    public void F0() {
        if (u0()) {
            return;
        }
        this.r0.set(true);
        this.t0.run();
    }

    public void G0() {
        c(uj.I);
    }

    private q I0() {
        if (!wh.f(v0)) {
            return null;
        }
        try {
            return new q(this);
        } catch (Throwable th) {
            n.b("AppLovinSdk", "Failed to initialize Privacy Sandbox Service", th);
            return null;
        }
    }

    public void J0() {
        Long l = (Long) a(sj.o3);
        if (l.longValue() >= 0 && this.e.compareAndSet(false, true)) {
            hr.a(l.longValue(), false, this, new Runnable() {
                @Override
                public final void run() {
                    j.this.B0();
                }
            });
        }
    }

    public void K0() {
        if (!y0()) {
            e("Initializing SDK in non-MAX environment...");
            return;
        }
        if (!this.f0.compareAndSet(false, true)) {
            e("Consent flow is already shown. Initializing SDK in MAX environment...");
        } else {
            if (!u().j()) {
                e("Consent flow is not enabled. Initializing SDK in MAX environment...");
                return;
            }
            u().a();
            u().b(m0(), new b());
        }
    }

    public void N0() {
        M0();
        if (this.f.isExceptionHandlerEnabled() && ((Boolean) a(sj.u)).booleanValue()) {
            AppLovinExceptionHandler.shared().addSdk(this);
            AppLovinExceptionHandler.shared().enable();
        }
        int parseInt = StringUtils.parseInt(this.f.getExtraParameters().get("initialization_delay_ms"), ((Integer) a(sj.j4)).intValue());
        tm i0 = i0();
        jn jnVar = new jn(this, true, "scheduleAdLoadIntegrationErrorAuto", new Runnable() {
            @Override
            public final void run() {
                j.this.E0();
            }
        });
        tm.b bVar = tm.b.CORE;
        long j = parseInt;
        i0.a(jnVar, bVar, j);
        i0().a(new jn(this, true, "scheduleSdkInit", new Runnable() {
            @Override
            public final void run() {
                j.this.F0();
            }
        }), bVar, j);
    }

    private Map O() {
        try {
            return JsonUtils.toStringMap(new JSONObject((String) a(sj.k4)));
        } catch (JSONException unused) {
            return Collections.emptyMap();
        }
    }

    public void P0() {
        ag U = U();
        U.a(new d(U));
    }

    public static long l() {
        return w0;
    }

    public static Context m() {
        return v0;
    }

    public static boolean w0() {
        return x0;
    }

    public l A() {
        Object obj = this.A.get();
        if (obj == null) {
            synchronized (this.A) {
                obj = this.A.get();
                if (obj == null) {
                    obj = new l(this);
                    this.A.set(obj);
                }
            }
        }
        if (obj == this.A) {
            obj = null;
        }
        return (l) obj;
    }

    public m B() {
        Object obj = this.C.get();
        if (obj == null) {
            synchronized (this.C) {
                obj = this.C.get();
                if (obj == null) {
                    obj = new m(this);
                    this.C.set(obj);
                }
            }
        }
        if (obj == this.C) {
            obj = null;
        }
        return (m) obj;
    }

    public la D() {
        return this.o;
    }

    public Activity F() {
        WeakReference weakReference = this.b;
        if (weakReference != null) {
            return (Activity) weakReference.get();
        }
        return null;
    }

    public AppLovinSdkInitializationConfiguration G() {
        return this.m0;
    }

    public long H() {
        return this.c;
    }

    public void H0() {
        final AppLovinSdk.SdkInitializationListener sdkInitializationListener;
        if (u().i() || (sdkInitializationListener = this.p0) == null) {
            return;
        }
        if (s0()) {
            this.p0 = null;
            this.q0 = null;
            K().a(MaxAdapter.InitializationStatus.INITIALIZED_SUCCESS);
        } else {
            if (this.q0 == sdkInitializationListener) {
                return;
            }
            K().a(MaxAdapter.InitializationStatus.INITIALIZED_FAILURE);
            if (((Boolean) a(sj.r)).booleanValue()) {
                this.p0 = null;
            } else {
                this.q0 = sdkInitializationListener;
            }
        }
        AppLovinSdkUtils.runOnUiThreadDelayed(new Runnable() {
            @Override
            public final void run() {
                j.this.d(sdkInitializationListener);
            }
        }, Math.max(0L, ((Long) a(sj.s)).longValue()));
    }

    public n I() {
        return this.n;
    }

    public com.applovin.impl.mediation.d J() {
        Object obj = this.a0.get();
        if (obj == null) {
            synchronized (this.a0) {
                obj = this.a0.get();
                if (obj == null) {
                    obj = new com.applovin.impl.mediation.d(this);
                    this.a0.set(obj);
                }
            }
        }
        if (obj == this.a0) {
            obj = null;
        }
        return (com.applovin.impl.mediation.d) obj;
    }

    public com.applovin.impl.mediation.e K() {
        Object obj = this.U.get();
        if (obj == null) {
            synchronized (this.U) {
                obj = this.U.get();
                if (obj == null) {
                    obj = new com.applovin.impl.mediation.e(this);
                    this.U.set(obj);
                }
            }
        }
        if (obj == this.U) {
            obj = null;
        }
        return (com.applovin.impl.mediation.e) obj;
    }

    public com.applovin.impl.mediation.f L() {
        Object obj = this.T.get();
        if (obj == null) {
            synchronized (this.T) {
                obj = this.T.get();
                if (obj == null) {
                    obj = new com.applovin.impl.mediation.f(this);
                    this.T.set(obj);
                }
            }
        }
        if (obj == this.T) {
            obj = null;
        }
        return (com.applovin.impl.mediation.f) obj;
    }

    public void L0() {
        q().a();
    }

    public String N() {
        String str = (String) a(uj.I);
        return StringUtils.isValidString(str) ? str : this.h;
    }

    public void O0() {
        synchronized (this.d0) {
            this.g0 = true;
            i0().f();
            d();
        }
    }

    public MediationServiceImpl P() {
        Object obj = this.V.get();
        if (obj == null) {
            synchronized (this.V) {
                obj = this.V.get();
                if (obj == null) {
                    obj = new MediationServiceImpl(this);
                    this.V.set(obj);
                }
            }
        }
        if (obj == this.V) {
            obj = null;
        }
        return (MediationServiceImpl) obj;
    }

    public void Q0() {
        n.h("AppLovinSdk", "Resetting SDK state...");
        ca C = C();
        ba baVar = ba.l;
        long b2 = C.b(baVar);
        g0().a();
        g0().e();
        C().a();
        C().b(baVar, b2 + 1);
        if (this.e0.compareAndSet(true, false)) {
            O0();
        } else {
            this.e0.set(true);
        }
    }

    public void R0() {
        if (StringUtils.isValidString(this.l0)) {
            return;
        }
        this.l0 = AppLovinMediationProvider.MAX;
        I();
        if (n.a()) {
            I().a("AppLovinSdk", "Detected mediation provider: MAX");
        }
    }

    public o S() {
        Object obj = this.Z.get();
        if (obj == null) {
            synchronized (this.Z) {
                obj = this.Z.get();
                if (obj == null) {
                    obj = new o(this);
                    this.Z.set(obj);
                }
            }
        }
        if (obj == this.Z) {
            obj = null;
        }
        return (o) obj;
    }

    public void S0() {
        v().n();
    }

    public AppLovinNativeAdService T() {
        Object obj = this.j.get();
        if (obj == null) {
            synchronized (this.j) {
                obj = this.j.get();
                if (obj == null) {
                    obj = new AppLovinNativeAdService(this);
                    this.j.set(obj);
                }
            }
        }
        if (obj == this.j) {
            obj = null;
        }
        return (AppLovinNativeAdService) obj;
    }

    public void T0() {
        a((Map) null);
    }

    public void U0() {
        if (AppLovinMediationProvider.ADMOB.equalsIgnoreCase(this.h) && ((Boolean) a(sj.L3)).booleanValue()) {
            String str = (String) a(sj.K3);
            if (TextUtils.isEmpty(str)) {
                return;
            }
            StringBuilder sb = new StringBuilder();
            String str2 = AppLovinSdk.VERSION;
            if (str.startsWith(sb.append(str2).append(".").toString())) {
                return;
            }
            final String str3 = "Mismatched AdMob adapter (" + str + ") and AppLovin SDK (" + str2 + ") versions detected, which may cause compatibility issues.";
            n.h("AppLovinSdk", str3);
            AppLovinSdkUtils.runOnUiThread(true, new Runnable() {
                @Override
                public final void run() {
                    j.this.d(str3);
                }
            });
        }
    }

    public com.applovin.impl.sdk.network.b W() {
        Object obj = this.R.get();
        if (obj == null) {
            synchronized (this.R) {
                obj = this.R.get();
                if (obj == null) {
                    obj = new com.applovin.impl.sdk.network.b(this);
                    this.R.set(obj);
                }
            }
        }
        if (obj == this.R) {
            obj = null;
        }
        return (com.applovin.impl.sdk.network.b) obj;
    }

    public PostbackServiceImpl X() {
        Object obj = this.Q.get();
        if (obj == null) {
            synchronized (this.Q) {
                obj = this.Q.get();
                if (obj == null) {
                    obj = new PostbackServiceImpl(this);
                    this.Q.set(obj);
                }
            }
        }
        if (obj == this.Q) {
            obj = null;
        }
        return (PostbackServiceImpl) obj;
    }

    public q Y() {
        Object obj = this.v.get();
        if (obj == null) {
            synchronized (this.v) {
                obj = this.v.get();
                if (obj == null) {
                    obj = I0();
                    if (obj == null) {
                        obj = this.v;
                    }
                    this.v.set(obj);
                }
            }
        }
        if (obj == this.v) {
            obj = null;
        }
        return (q) obj;
    }

    public String Z() {
        return o0().a();
    }

    public void a(AppLovinSdk appLovinSdk) {
        this.m = appLovinSdk;
    }

    public String a0() {
        return this.a;
    }

    public MaxSegmentCollectionImpl b0() {
        return (MaxSegmentCollectionImpl) this.g;
    }

    public Map c0() {
        MaxSegmentCollectionImpl b0 = b0();
        if (b0 == null) {
            return null;
        }
        return b0.getJsonData();
    }

    public SessionTracker e0() {
        Object obj = this.B.get();
        if (obj == null) {
            synchronized (this.B) {
                obj = this.B.get();
                if (obj == null) {
                    obj = new SessionTracker(this);
                    this.B.set(obj);
                }
            }
        }
        if (obj == this.B) {
            obj = null;
        }
        return (SessionTracker) obj;
    }

    public AppLovinSdkSettings f0() {
        return this.f;
    }

    public com.applovin.impl.sdk.d g() {
        Object obj = this.P.get();
        if (obj == null) {
            synchronized (this.P) {
                obj = this.P.get();
                if (obj == null) {
                    obj = new com.applovin.impl.sdk.d(this);
                    this.P.set(obj);
                }
            }
        }
        if (obj == this.P) {
            obj = null;
        }
        return (com.applovin.impl.sdk.d) obj;
    }

    public e h() {
        Object obj = this.y.get();
        if (obj == null) {
            synchronized (this.y) {
                obj = this.y.get();
                if (obj == null) {
                    obj = new e(this);
                    this.y.set(obj);
                }
            }
        }
        if (obj == this.y) {
            obj = null;
        }
        return (e) obj;
    }

    public AppLovinAdServiceImpl j() {
        Object obj = this.i.get();
        if (obj == null) {
            synchronized (this.i) {
                obj = this.i.get();
                if (obj == null) {
                    obj = new AppLovinAdServiceImpl(this);
                    this.i.set(obj);
                }
            }
        }
        if (obj == this.i) {
            obj = null;
        }
        return (AppLovinAdServiceImpl) obj;
    }

    public g k() {
        Object obj = this.D.get();
        if (obj == null) {
            synchronized (this.D) {
                obj = this.D.get();
                if (obj == null) {
                    obj = new g(this);
                    this.D.set(obj);
                }
            }
        }
        if (obj == this.D) {
            obj = null;
        }
        return (g) obj;
    }

    public Activity m0() {
        Activity b2 = a(m()).b();
        return b2 != null ? b2 : F();
    }

    public ArrayService n() {
        Object obj = this.N.get();
        if (obj == null) {
            synchronized (this.N) {
                obj = this.N.get();
                if (obj == null) {
                    obj = new ArrayService(this);
                    this.N.set(obj);
                }
            }
        }
        if (obj == this.N) {
            obj = null;
        }
        return (ArrayService) obj;
    }

    public String n0() {
        return o0().c();
    }

    public h o() {
        Object obj = this.I.get();
        if (obj == null) {
            synchronized (this.I) {
                obj = this.I.get();
                if (obj == null) {
                    obj = new h(this);
                    this.I.set(obj);
                }
            }
        }
        if (obj == this.I) {
            obj = null;
        }
        return (h) obj;
    }

    public CmpServiceImpl p() {
        Object obj = this.l.get();
        if (obj == null) {
            synchronized (this.l) {
                obj = this.l.get();
                if (obj == null) {
                    obj = new CmpServiceImpl(this);
                    this.l.set(obj);
                }
            }
        }
        if (obj == this.l) {
            obj = null;
        }
        return (CmpServiceImpl) obj;
    }

    public i q() {
        Object obj = this.G.get();
        if (obj == null) {
            synchronized (this.G) {
                obj = this.G.get();
                if (obj == null) {
                    obj = new i(this);
                    this.G.set(obj);
                }
            }
        }
        if (obj == this.G) {
            obj = null;
        }
        return (i) obj;
    }

    public AppLovinSdk q0() {
        return this.m;
    }

    public String r() {
        return o0().b();
    }

    public boolean r0() {
        return this.j0;
    }

    public AppLovinSdkConfiguration s() {
        return this.o0;
    }

    public boolean s0() {
        boolean z;
        synchronized (this.d0) {
            z = this.h0;
        }
        return z;
    }

    public boolean t0() {
        return this.i0;
    }

    public String toString() {
        return "CoreSdk{sdkKey='" + this.a + "', enabled=" + this.h0 + ", isFirstSession=" + this.i0 + '}';
    }

    public boolean u0() {
        boolean z;
        synchronized (this.n0) {
            z = this.m0 != null;
        }
        return z;
    }

    public boolean v0() {
        boolean z;
        synchronized (this.d0) {
            z = this.g0;
        }
        return z;
    }

    public k x() {
        Object obj = this.u.get();
        if (obj == null) {
            synchronized (this.u) {
                obj = this.u.get();
                if (obj == null) {
                    obj = new k(this);
                    this.u.set(obj);
                }
            }
        }
        if (obj == this.u) {
            obj = null;
        }
        return (k) obj;
    }

    public AtomicBoolean x0() {
        return this.r0;
    }

    public String y() {
        return this.l0;
    }

    public boolean y0() {
        return StringUtils.containsIgnoreCase(N(), AppLovinMediationProvider.MAX);
    }

    public EventServiceImpl z() {
        Object obj = this.k.get();
        if (obj == null) {
            synchronized (this.k) {
                obj = this.k.get();
                if (obj == null) {
                    obj = new EventServiceImpl(this);
                    this.k.set(obj);
                }
            }
        }
        if (obj == this.k) {
            obj = null;
        }
        return (EventServiceImpl) obj;
    }

    public boolean z0() {
        return yp.a("com.unity3d.player.UnityPlayerActivity");
    }

    private void M0() {
        Context context = v0;
        n I = I();
        vj h0 = h0();
        h4 u = u();
        a(context);
        e0();
        i();
        n();
        U();
        K().a(MaxAdapter.InitializationStatus.INITIALIZING);
        NativeCrashReporter.a(this);
        String str = this.a;
        if (str == null || str.length() != 86) {
            n.h("AppLovinSdk", "Please double-check that you entered your SDK key correctly (" + this.a + ") : " + Log.getStackTraceString(new Throwable("")));
        }
        if ("HSrCHRtOan6wp2kwOIGJC1RDtuSrF2mWVbio2aBcMHX9KF3iTJ1lLSzCKP1ZSo5yNolPNw1kCTtWpxELFF4ah1".equalsIgnoreCase(this.a)) {
            n.h("AppLovinSdk", "Cross Promo SDK has been deprecated and is no longer supported");
            if (yp.c(this)) {
                throw new RuntimeException("Cross Promo SDK has been deprecated and is no longer supported");
            }
            return;
        }
        if (f0().getExtraParameters().containsKey("terms_flow_settings")) {
            String str2 = "Terms flow has been removed. Please migrate to our Terms and Privacy Policy flow. For more information visit our docs: " + u().b();
            if (yp.c(this)) {
                throw new IllegalStateException(str2);
            }
            n.h("AppLovinSdk", str2);
        }
        if (yp.i()) {
            n.h("AppLovinSdk", "Failed to find class for name: com.applovin.sdk.AppLovinSdk. Please ensure proguard rules have not been omitted from the build.");
        }
        if (!yp.b(this)) {
            n.h("AppLovinSdk", "Detected non-Android core JSON library. Please double-check that none of your third party libraries include custom implementation of org.json.JSONObject.");
        }
        if (yp.k(context)) {
            this.f.setVerboseLogging(true);
        }
        g0().a(sj.l, Boolean.valueOf(this.f.isVerboseLoggingEnabled()));
        if (yp.c(this)) {
            ArrayList arrayList = new ArrayList();
            JSONArray a2 = ze.a(this);
            for (int i = 0; i < a2.length(); i++) {
                JSONObject jSONObject = JsonUtils.getJSONObject(a2, i, (JSONObject) null);
                if (!JsonUtils.getBoolean(jSONObject, "is_supported", Boolean.TRUE).booleanValue()) {
                    arrayList.add(JsonUtils.getString(jSONObject, "name", "unknown"));
                }
            }
            if (!arrayList.isEmpty()) {
                throw new IllegalArgumentException("Please update to the latest adapter versions. Incompatible adapter(s) found: " + arrayList);
            }
        }
        SharedPreferences defaultSharedPreferences = PreferenceManager.getDefaultSharedPreferences(context);
        uj ujVar = uj.c;
        if (TextUtils.isEmpty((String) h0.a(ujVar, (Object) null, defaultSharedPreferences))) {
            this.i0 = true;
            h0.b(ujVar, Boolean.toString(true), defaultSharedPreferences);
        } else {
            h0.b(ujVar, Boolean.toString(false), defaultSharedPreferences);
        }
        uj ujVar2 = uj.d;
        if (((Boolean) h0.a(ujVar2, Boolean.FALSE)).booleanValue()) {
            if (n.a()) {
                I.a("AppLovinSdk", "Initializing SDK for non-maiden launch");
            }
            this.j0 = true;
        } else {
            if (n.a()) {
                I.a("AppLovinSdk", "Initializing SDK for maiden launch");
            }
            h0.b(ujVar2, Boolean.TRUE);
            h0.b(uj.o, Boolean.valueOf(u.j()));
        }
        uj ujVar3 = uj.e;
        String str3 = (String) h0.a(ujVar3, null);
        if (StringUtils.isValidString(str3)) {
            if (AppLovinSdk.VERSION_CODE > yp.f(str3)) {
                h0.b(ujVar3, AppLovinSdk.VERSION);
            }
        } else {
            h0.b(ujVar3, AppLovinSdk.VERSION);
        }
        D().a(ka.e, (Object) null, (Map) null, 0L);
    }

    private void d() {
        tm i0 = i0();
        int i = this.k0 + 1;
        this.k0 = i;
        i0.a((yl) new jm(i, this, new a()), tm.b.CORE);
    }

    public void e(String str) {
        I();
        if (n.a()) {
            I().a("AppLovinSdk", str);
        }
        i0().a(new sm(this));
    }

    public com.applovin.impl.sdk.a f() {
        Object obj = this.z.get();
        if (obj == null) {
            synchronized (this.z) {
                obj = this.z.get();
                if (obj == null) {
                    obj = new com.applovin.impl.sdk.a(this);
                    this.z.set(obj);
                }
            }
        }
        if (obj == this.z) {
            obj = null;
        }
        return (com.applovin.impl.sdk.a) obj;
    }

    public void g(final String str) {
        n.g("AppLovinSdk", "Setting plugin version: " + str);
        if (yp.h()) {
            yp.a(new Runnable() {
                @Override
                public final void run() {
                    j.this.b(str);
                }
            });
        } else {
            g0().a(sj.K3, str);
        }
    }

    public void h(final String str) {
        I();
        if (n.a()) {
            I().a("AppLovinSdk", "Setting user id: " + str);
        }
        if (StringUtils.isValidString(str) && str.length() > yp.b(8)) {
            n.h("AppLovinSdk", "Provided user id longer than supported (" + str.length() + " bytes, " + yp.b(8) + " maximum)");
        }
        if (yp.h()) {
            yp.a(new Runnable() {
                @Override
                public final void run() {
                    j.this.c(str);
                }
            });
        } else {
            o0().a(str);
        }
    }

    public long l0() {
        if (this.d == 0) {
            return -1L;
        }
        return System.currentTimeMillis() - this.d;
    }

    public void d(String str) {
        if (!yp.c(this)) {
            HashMap hashMap = new HashMap();
            hashMap.put("details", AppLovinMediationProvider.ADMOB);
            hashMap.put("error_message", str);
            D().a(ka.V, "adapterVersionMismatch", (Map) hashMap);
            return;
        }
        throw new IllegalStateException(str);
    }

    public void f(String str) {
        I();
        if (n.a()) {
            I().a("AppLovinSdk", "setMediationProvider(mediationProvider=" + str + ")");
        }
        if (str != null && (str.isEmpty() || str.length() > 64 || !StringUtils.isAlphaNumeric(str))) {
            n.h("AppLovinSdk", "Mediation provider set to invalid value: " + str + ". Please use a valid mediation provider (e.g., AppLovinMediationProvider.MAX)");
            return;
        }
        this.h = str;
        if (yp.h()) {
            yp.a(new Runnable() {
                @Override
                public final void run() {
                    j.this.G0();
                }
            });
        } else {
            c(uj.I);
        }
    }

    public com.applovin.impl.q e() {
        return a(v0);
    }

    public void d(AppLovinSdk.SdkInitializationListener sdkInitializationListener) {
        I();
        if (n.a()) {
            I().a("AppLovinSdk", "Calling back publisher's initialization completion handler...");
        }
        sdkInitializationListener.onSdkInitialized(this.o0);
    }

    public tm i0() {
        Object obj = this.p.get();
        if (obj == null) {
            synchronized (this.p) {
                obj = this.p.get();
                if (obj == null) {
                    obj = new tm(this);
                    this.p.set(obj);
                }
            }
        }
        if (obj == this.p) {
            obj = null;
        }
        return (tm) obj;
    }

    public tj g0() {
        Object obj = this.q.get();
        if (obj == null) {
            synchronized (this.q) {
                obj = this.q.get();
                if (obj == null) {
                    obj = new tj(this);
                    this.q.set(obj);
                }
            }
        }
        if (obj == this.q) {
            obj = null;
        }
        return (tj) obj;
    }

    public d4 t() {
        Object obj = this.r.get();
        if (obj == null) {
            synchronized (this.r) {
                obj = this.r.get();
                if (obj == null) {
                    obj = new d4(this);
                    this.r.set(obj);
                }
            }
        }
        if (obj == this.r) {
            obj = null;
        }
        return (d4) obj;
    }

    public ca C() {
        Object obj = this.s.get();
        if (obj == null) {
            synchronized (this.s) {
                obj = this.s.get();
                if (obj == null) {
                    obj = new ca(this);
                    this.s.set(obj);
                }
            }
        }
        if (obj == this.s) {
            obj = null;
        }
        return (ca) obj;
    }

    public xe Q() {
        Object obj = this.t.get();
        if (obj == null) {
            synchronized (this.t) {
                obj = this.t.get();
                if (obj == null) {
                    obj = new xe(this);
                    this.t.set(obj);
                }
            }
        }
        if (obj == this.t) {
            obj = null;
        }
        return (xe) obj;
    }

    public vj h0() {
        Object obj = this.w.get();
        if (obj == null) {
            synchronized (this.w) {
                obj = this.w.get();
                if (obj == null) {
                    obj = new vj(this);
                    this.w.set(obj);
                }
            }
        }
        if (obj == this.w) {
            obj = null;
        }
        return (vj) obj;
    }

    public wp o0() {
        Object obj = this.x.get();
        if (obj == null) {
            synchronized (this.x) {
                obj = this.x.get();
                if (obj == null) {
                    obj = new wp(this);
                    this.x.set(obj);
                }
            }
        }
        if (obj == this.x) {
            obj = null;
        }
        return (wp) obj;
    }

    public qr p0() {
        Object obj = this.E.get();
        if (obj == null) {
            synchronized (this.E) {
                obj = this.E.get();
                if (obj == null) {
                    obj = new qr(this);
                    this.E.set(obj);
                }
            }
        }
        if (obj == this.E) {
            obj = null;
        }
        return (qr) obj;
    }

    public ag U() {
        Object obj = this.F.get();
        if (obj == null) {
            synchronized (this.F) {
                obj = this.F.get();
                if (obj == null) {
                    obj = new ag(m());
                    this.F.set(obj);
                }
            }
        }
        if (obj == this.F) {
            obj = null;
        }
        return (ag) obj;
    }

    public oj d0() {
        Object obj = this.H.get();
        if (obj == null) {
            synchronized (this.H) {
                obj = this.H.get();
                if (obj == null) {
                    obj = new oj(this);
                    this.H.set(obj);
                }
            }
        }
        if (obj == this.H) {
            obj = null;
        }
        return (oj) obj;
    }

    public h4 u() {
        Object obj = this.J.get();
        if (obj == null) {
            synchronized (this.J) {
                obj = this.J.get();
                if (obj == null) {
                    obj = new h4(this);
                    this.J.set(obj);
                }
            }
        }
        if (obj == this.J) {
            obj = null;
        }
        return (h4) obj;
    }

    public qn j0() {
        Object obj = this.K.get();
        if (obj == null) {
            synchronized (this.K) {
                obj = this.K.get();
                if (obj == null) {
                    obj = new qn(this);
                    this.K.set(obj);
                }
            }
        }
        if (obj == this.K) {
            obj = null;
        }
        return (qn) obj;
    }

    public x4 v() {
        Object obj = this.L.get();
        if (obj == null) {
            synchronized (this.L) {
                obj = this.L.get();
                if (obj == null) {
                    obj = new x4(this);
                    this.L.set(obj);
                }
            }
        }
        if (obj == this.L) {
            obj = null;
        }
        return (x4) obj;
    }

    public pg V() {
        Object obj = this.M.get();
        if (obj == null) {
            synchronized (this.M) {
                obj = this.M.get();
                if (obj == null) {
                    obj = new pg(this);
                    this.M.set(obj);
                }
            }
        }
        if (obj == this.M) {
            obj = null;
        }
        return (pg) obj;
    }

    public c5 w() {
        Object obj = this.O.get();
        if (obj == null) {
            synchronized (this.O) {
                obj = this.O.get();
                if (obj == null) {
                    obj = new c5(this);
                    this.O.set(obj);
                }
            }
        }
        if (obj == this.O) {
            obj = null;
        }
        return (c5) obj;
    }

    public v i() {
        Object obj = this.S.get();
        if (obj == null) {
            synchronized (this.S) {
                obj = this.S.get();
                if (obj == null) {
                    obj = new v(this);
                    this.S.set(obj);
                }
            }
        }
        if (obj == this.S) {
            obj = null;
        }
        return (v) obj;
    }

    public cd E() {
        Object obj = this.W.get();
        if (obj == null) {
            synchronized (this.W) {
                obj = this.W.get();
                if (obj == null) {
                    obj = new cd(this);
                    this.W.set(obj);
                }
            }
        }
        if (obj == this.W) {
            obj = null;
        }
        return (cd) obj;
    }

    public ye R() {
        Object obj = this.X.get();
        if (obj == null) {
            synchronized (this.X) {
                obj = this.X.get();
                if (obj == null) {
                    obj = new ye();
                    this.X.set(obj);
                }
            }
        }
        if (obj == this.X) {
            obj = null;
        }
        return (ye) obj;
    }

    public te M() {
        Object obj = this.Y.get();
        if (obj == null) {
            synchronized (this.Y) {
                obj = this.Y.get();
                if (obj == null) {
                    obj = new te(this);
                    this.Y.set(obj);
                }
            }
        }
        if (obj == this.Y) {
            obj = null;
        }
        return (te) obj;
    }

    public wn k0() {
        Object obj = this.b0.get();
        if (obj == null) {
            synchronized (this.b0) {
                obj = this.b0.get();
                if (obj == null) {
                    obj = new wn(this);
                    this.b0.set(obj);
                }
            }
        }
        if (obj == this.b0) {
            obj = null;
        }
        return (wn) obj;
    }

    class b implements h4.b {
        b() {
        }

        @Override
        public void a(h4.a aVar) {
            j.this.I();
            if (n.a()) {
                j.this.I().a("AppLovinSdk", "Terms and Privacy Policy flow completed with status: " + aVar);
            }
            if (aVar.b()) {
                j.this.I();
                if (n.a()) {
                    j.this.I().a("AppLovinSdk", "Re-initializing SDK with the updated privacy settings...");
                }
                j.this.O0();
                j.this.L0();
                return;
            }
            j.this.e("Initializing SDK in MAX environment...");
        }
    }

    class d implements ag.a {
        final ag a;

        @Override
        public void a() {
            j.this.I();
            if (n.a()) {
                j.this.I().d("AppLovinSdk", "Connected to internet - re-initializing SDK");
            }
            synchronized (j.this.d0) {
                if (!j.this.g0) {
                    j.this.O0();
                }
            }
            this.a.b(this);
        }

        @Override
        public void b() {
        }

        d(ag agVar) {
            this.a = agVar;
        }
    }

    public Object a(sj sjVar) {
        return g0().a(sjVar);
    }

    public List c(sj sjVar) {
        return g0().c(sjVar);
    }

    public List b(sj sjVar) {
        return g0().b(sjVar);
    }

    public Object a(uj ujVar) {
        return a(ujVar, (Object) null);
    }

    public void c(uj ujVar) {
        h0().b(ujVar);
    }

    public void c(JSONObject jSONObject) {
        this.d = System.currentTimeMillis();
        e4.c(jSONObject, this);
        e4.b(jSONObject, this);
        e4.a(jSONObject, this);
        pe.f(jSONObject, this);
        pe.d(jSONObject, this);
        pe.e(jSONObject, this);
        pe.g(jSONObject, this);
    }

    public void c() {
        synchronized (this.d0) {
            if (!this.g0 && !this.h0) {
                O0();
            }
        }
    }

    public Object b(uj ujVar) {
        return h0().a(ujVar);
    }

    public void c(AppLovinSdk.SdkInitializationListener sdkInitializationListener) {
        sdkInitializationListener.onSdkInitialized(this.o0);
    }

    public void c(String str) {
        o0().a(str);
    }

    public Object a(uj ujVar, Object obj) {
        return h0().a(ujVar, obj);
    }

    public void b(uj ujVar, Object obj) {
        h0().b(ujVar, obj);
    }

    public static void b(Context context) {
        if (context == null) {
            return;
        }
        v0 = context.getApplicationContext();
    }

    public void b(AppLovinSdk.SdkInitializationListener sdkInitializationListener) {
        sdkInitializationListener.onSdkInitialized(this.o0);
    }

    public void a(AppLovinSdkInitializationConfiguration appLovinSdkInitializationConfiguration) {
        M0();
        this.f.attachAppLovinSdk(this);
        String pluginVersion = appLovinSdkInitializationConfiguration.getPluginVersion();
        if (pluginVersion != null) {
            n.g("AppLovinSdk", "Setting plugin version: " + pluginVersion);
            g0().a(sj.K3, pluginVersion);
        }
        if (appLovinSdkInitializationConfiguration.isExceptionHandlerEnabled() && ((Boolean) a(sj.u)).booleanValue()) {
            AppLovinExceptionHandler.shared().addSdk(this);
            AppLovinExceptionHandler.shared().enable();
        }
        tm i0 = i0();
        yl ylVar = this.s0;
        tm.b bVar = tm.b.CORE;
        i0.a(ylVar, bVar);
        i0().a(this.t0, bVar);
    }

    public void b(JSONObject jSONObject) {
        Iterator it = JsonUtils.getList(jSONObject, "error_messages", Collections.emptyList()).iterator();
        while (it.hasNext()) {
            n.h("AppLovinSdk", (String) it.next());
        }
    }

    public java.lang.String b() {
        throw new UnsupportedOperationException("Method not decompiled: com.applovin.impl.sdk.j.b():java.lang.String");
    }

    public void b(String str) {
        g0().a(sj.K3, str);
    }

    public boolean a(sj sjVar, MaxAdFormat maxAdFormat) {
        return b(sjVar).contains(maxAdFormat);
    }

    public void a(oe oeVar) {
        if (i0().d()) {
            return;
        }
        List c2 = c(ue.D6);
        if (c2.size() <= 0 || !K().a().containsAll(c2)) {
            return;
        }
        I();
        if (n.a()) {
            I().a("AppLovinSdk", "All required adapters initialized");
        }
        i0().e();
        H0();
    }

    public static String a(String str) {
        return a(str, (List) null);
    }

    public static String a(int i) {
        return a(i, (List) null);
    }

    public static String a(String str, List list) {
        if (TextUtils.isEmpty(str)) {
            return "";
        }
        Context m = m();
        return a(m.getResources().getIdentifier(str, com.anythink.expressad.foundation.h.k.g, m.getPackageName()), list);
    }

    public static String a(int i, List list) {
        String string = m().getResources().getString(i);
        return list != null ? String.format(string, list.toArray()) : string;
    }

    public static com.applovin.impl.q a(Context context) {
        if (y0 == null) {
            synchronized (z0) {
                if (y0 == null) {
                    y0 = new com.applovin.impl.q(context);
                }
            }
        }
        return y0;
    }

    public void a(final AppLovinSdkInitializationConfiguration appLovinSdkInitializationConfiguration, final AppLovinSdk.SdkInitializationListener sdkInitializationListener) {
        if (this.r0.get()) {
            n.h("AppLovinSdk", "Invalid initialization process: please remove the applovin.sdk.key entry from your AndroidManifest.xml and set your SDK key with the AppLovinSdkInitializationConfiguration object. Then initialize the SDK as soon as possible with \"AppLovinSdk#initialize(AppLovinSdkInitializationConfiguration, AppLovinSdk.SdkInitializationListener)\" before accessing any SDK fields or APIs.");
            D().a(ka.V, "legacy_init_already");
            if (yp.c(this)) {
                throw new IllegalStateException("Invalid initialization process: please remove the applovin.sdk.key entry from your AndroidManifest.xml and set your SDK key with the AppLovinSdkInitializationConfiguration object. Then initialize the SDK as soon as possible with \"AppLovinSdk#initialize(AppLovinSdkInitializationConfiguration, AppLovinSdk.SdkInitializationListener)\" before accessing any SDK fields or APIs.");
            }
            return;
        }
        synchronized (this.n0) {
            if (this.m0 != null) {
                n.h("AppLovinSdk", "AppLovin SDK already initialized with configuration: " + this.m0 + ". Ignoring the provided initialization configuration.");
                if (!s0() || sdkInitializationListener == null) {
                    return;
                }
                AppLovinSdkUtils.runOnUiThread(new Runnable() {
                    @Override
                    public final void run() {
                        j.this.b(sdkInitializationListener);
                    }
                });
                return;
            }
            this.m0 = appLovinSdkInitializationConfiguration;
            this.p0 = sdkInitializationListener;
            this.a = appLovinSdkInitializationConfiguration.getSdkKey();
            this.h = appLovinSdkInitializationConfiguration.getMediationProvider();
            this.g = appLovinSdkInitializationConfiguration.getSegmentCollection();
            yp.a(new Runnable() {
                @Override
                public final void run() {
                    j.this.a(appLovinSdkInitializationConfiguration);
                }
            });
        }
    }

    public void a(String str, AppLovinSdkSettings appLovinSdkSettings) {
        x0().set(true);
        this.a = str;
        this.f = appLovinSdkSettings;
        if (TextUtils.isEmpty(str)) {
            n.h("AppLovinSdk", "Unable to find AppLovin SDK key. Please add  meta-data android:name=\"applovin.sdk.key\" android:value=\"YOUR_SDK_KEY_HERE\" into AndroidManifest.xml.");
            n.h("AppLovinSdk", "Called with an invalid SDK key from: " + Log.getStackTraceString(new Throwable("")));
        }
        yp.a(new Runnable() {
            @Override
            public final void run() {
                j.this.N0();
            }
        });
    }

    public List a(JSONObject jSONObject) {
        List asList = Arrays.asList(JsonUtils.getString(jSONObject, "eaf", "").split(","));
        ArrayList arrayList = new ArrayList(asList.size());
        Iterator it = asList.iterator();
        while (it.hasNext()) {
            MaxAdFormat formatFromString = MaxAdFormat.formatFromString((String) it.next());
            if (formatFromString != null) {
                arrayList.add(formatFromString);
            }
        }
        return arrayList;
    }

    public void a(boolean z) {
        synchronized (this.d0) {
            this.g0 = false;
            this.h0 = z;
        }
        if (z) {
            List c2 = c(ue.D6);
            if (c2.isEmpty()) {
                i0().e();
                H0();
                return;
            }
            Long l = (Long) a(ue.E6);
            jn jnVar = new jn(this, true, "timeoutInitAdapters", new Runnable() {
                @Override
                public final void run() {
                    j.this.A0();
                }
            });
            I();
            if (n.a()) {
                I().a("AppLovinSdk", "Waiting for required adapters to init: " + c2 + " - timing out in " + l + "ms...");
            }
            i0().a(jnVar, tm.b.TIMEOUT, l.longValue(), true);
        }
    }

    public boolean a(MaxAdFormat maxAdFormat) {
        List list = this.c0;
        return (list == null || list.size() <= 0 || this.c0.contains(maxAdFormat)) ? false : true;
    }

    public void a() {
        String str = (String) h0().a(uj.e, null);
        if (StringUtils.isValidString(str)) {
            if (AppLovinSdk.VERSION_CODE < yp.f(str)) {
                n.h("AppLovinSdk", "Current version (" + AppLovinSdk.VERSION + ") is older than earlier installed version (" + str + "), which may cause compatibility issues.");
            }
        }
    }

    public void a(Map map) {
        M().a(map);
    }

    public void a(String str, Object obj, SharedPreferences.Editor editor) {
        h0().a(str, obj, editor);
    }

    public Object a(String str, Object obj, Class cls, SharedPreferences sharedPreferences) {
        return vj.a(str, obj, cls, sharedPreferences);
    }

    public void a(SharedPreferences sharedPreferences) {
        h0().a(sharedPreferences);
    }

    public void a(final AppLovinSdk.SdkInitializationListener sdkInitializationListener) {
        if (!s0()) {
            this.p0 = sdkInitializationListener;
        } else if (sdkInitializationListener != null) {
            AppLovinSdkUtils.runOnUiThread(new Runnable() {
                @Override
                public final void run() {
                    j.this.c(sdkInitializationListener);
                }
            });
        }
    }
}