导航菜单

页面标题

页面副标题

Uptodown App Store v6.80 - C1348x.java 源代码

正在查看: Uptodown App Store v6.80 应用的 C1348x.java JAVA 源代码文件

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


package y0;

import android.content.Context;
import android.text.TextUtils;
import android.util.Log;
import java.util.concurrent.Callable;
import java.util.concurrent.ExecutionException;
import java.util.concurrent.Future;
import java.util.concurrent.TimeUnit;
import java.util.concurrent.TimeoutException;
import p0.C1100f;
import v0.InterfaceC1236a;
import w0.InterfaceC1242a;
import x0.InterfaceC1256a;
import x0.InterfaceC1257b;
import z0.C1361g;

public class C1348x {
    private final Context a;
    private final C1100f b;
    private final D c;
    private C1349y f;
    private C1349y g;
    private boolean h;
    private C1342q i;
    private final I j;
    private final E0.g k;
    public final InterfaceC1257b l;
    private final InterfaceC1242a m;
    private final C1339n n;
    private final InterfaceC1236a o;
    private final v0.l p;
    private final C1361g q;
    private final long e = System.currentTimeMillis();
    private final N d = new N();

    public C1348x(C1100f c1100f, I i, InterfaceC1236a interfaceC1236a, D d, InterfaceC1257b interfaceC1257b, InterfaceC1242a interfaceC1242a, E0.g gVar, C1339n c1339n, v0.l lVar, C1361g c1361g) {
        this.b = c1100f;
        this.c = d;
        this.a = c1100f.k();
        this.j = i;
        this.o = interfaceC1236a;
        this.l = interfaceC1257b;
        this.m = interfaceC1242a;
        this.k = gVar;
        this.n = c1339n;
        this.p = lVar;
        this.q = c1361g;
    }

    private void f() {
        try {
            this.h = Boolean.TRUE.equals((Boolean) this.q.a.c().submit(new Callable() {
                @Override
                public final Object call() {
                    Boolean valueOf;
                    valueOf = Boolean.valueOf(C1348x.this.i.r());
                    return valueOf;
                }
            }).get(3L, TimeUnit.SECONDS));
        } catch (Exception unused) {
            this.h = false;
        }
    }

    public void h(G0.j jVar) {
        C1361g.c();
        o();
        try {
            try {
                this.l.a(new InterfaceC1256a() {
                    @Override
                    public final void a(String str) {
                        C1348x.this.m(str);
                    }
                });
                this.i.Q();
                if (!jVar.b().b.a) {
                    v0.g.f().b("Collection of crash reports disabled in Crashlytics settings.");
                    throw new RuntimeException("Collection of crash reports disabled in Crashlytics settings.");
                }
                if (!this.i.y(jVar)) {
                    v0.g.f().k("Previous sessions could not be finalized.");
                }
                this.i.S(jVar.a());
                n();
            } catch (Exception e) {
                v0.g.f().e("Crashlytics encountered a problem during asynchronous initialization.", e);
                n();
            }
        } catch (Throwable th) {
            n();
            throw th;
        }
    }

    private void j(final G0.j jVar) {
        Future<?> submit = this.q.a.c().submit(new Runnable() {
            @Override
            public final void run() {
                C1348x.this.h(jVar);
            }
        });
        v0.g.f().b("Crashlytics detected incomplete initialization on previous app launch. Will initialize synchronously.");
        try {
            submit.get(3L, TimeUnit.SECONDS);
        } catch (InterruptedException e) {
            v0.g.f().e("Crashlytics was interrupted during initialization.", e);
            Thread.currentThread().interrupt();
        } catch (ExecutionException e4) {
            v0.g.f().e("Crashlytics encountered a problem during initialization.", e4);
        } catch (TimeoutException e5) {
            v0.g.f().e("Crashlytics timed out during initialization.", e5);
        }
    }

    public static String k() {
        return "19.2.1";
    }

    static boolean l(String str, boolean z) {
        if (!z) {
            v0.g.f().i("Configured not to require a build ID.");
            return true;
        }
        if (!TextUtils.isEmpty(str)) {
            return true;
        }
        Log.e("FirebaseCrashlytics", ".");
        Log.e("FirebaseCrashlytics", ".     |  | ");
        Log.e("FirebaseCrashlytics", ".     |  |");
        Log.e("FirebaseCrashlytics", ".     |  |");
        Log.e("FirebaseCrashlytics", ".   \\ |  | /");
        Log.e("FirebaseCrashlytics", ".    \\    /");
        Log.e("FirebaseCrashlytics", ".     \\  /");
        Log.e("FirebaseCrashlytics", ".      \\/");
        Log.e("FirebaseCrashlytics", ".");
        Log.e("FirebaseCrashlytics", "The Crashlytics build ID is missing. This occurs when the Crashlytics Gradle plugin is missing from your app's build configuration. Please review the Firebase Crashlytics onboarding instructions at https://firebase.google.com/docs/crashlytics/get-started?platform=android#add-plugin");
        Log.e("FirebaseCrashlytics", ".");
        Log.e("FirebaseCrashlytics", ".      /\\");
        Log.e("FirebaseCrashlytics", ".     /  \\");
        Log.e("FirebaseCrashlytics", ".    /    \\");
        Log.e("FirebaseCrashlytics", ".   / |  | \\");
        Log.e("FirebaseCrashlytics", ".     |  |");
        Log.e("FirebaseCrashlytics", ".     |  |");
        Log.e("FirebaseCrashlytics", ".     |  |");
        Log.e("FirebaseCrashlytics", ".");
        return false;
    }

    boolean g() {
        return this.f.c();
    }

    public k0.l i(final G0.j jVar) {
        return this.q.a.d(new Runnable() {
            @Override
            public final void run() {
                C1348x.this.h(jVar);
            }
        });
    }

    public void m(final String str) {
        final long currentTimeMillis = System.currentTimeMillis() - this.e;
        this.q.a.d(new Runnable() {
            @Override
            public final void run() {
                r0.q.b.d(new Runnable() {
                    @Override
                    public final void run() {
                        C1348x.this.i.V(r2, r4);
                    }
                });
            }
        });
    }

    void n() {
        C1361g.c();
        try {
            if (this.f.d()) {
                return;
            }
            v0.g.f().k("Initialization marker file was not properly removed.");
        } catch (Exception e) {
            v0.g.f().e("Problem encountered deleting Crashlytics initialization marker.", e);
        }
    }

    void o() {
        C1361g.c();
        this.f.a();
        v0.g.f().i("Initialization marker file was created.");
    }

    public boolean p(C1327b c1327b, G0.j jVar) {
        if (!l(c1327b.b, AbstractC1335j.i(this.a, "com.crashlytics.RequireBuildId", true))) {
            throw new IllegalStateException("The Crashlytics build ID is missing. This occurs when the Crashlytics Gradle plugin is missing from your app's build configuration. Please review the Firebase Crashlytics onboarding instructions at https://firebase.google.com/docs/crashlytics/get-started?platform=android#add-plugin");
        }
        String c = new C1334i().c();
        try {
            this.g = new C1349y("crash_marker", this.k);
            this.f = new C1349y("initialization_marker", this.k);
            A0.m mVar = new A0.m(c, this.k, this.q);
            A0.e eVar = new A0.e(this.k);
            H0.a aVar = new H0.a(1024, new H0.c(10));
            this.p.b(mVar);
            this.i = new C1342q(this.a, this.j, this.c, this.k, this.g, c1327b, mVar, eVar, Z.i(this.a, this.j, this.k, c1327b, eVar, mVar, aVar, jVar, this.d, this.n, this.q), this.o, this.m, this.n, this.q);
            boolean g = g();
            f();
            this.i.w(c, Thread.getDefaultUncaughtExceptionHandler(), jVar);
            if (!g || !AbstractC1335j.d(this.a)) {
                v0.g.f().b("Successfully configured exception handler.");
                return true;
            }
            v0.g.f().b("Crashlytics did not finish previous background initialization. Initializing synchronously.");
            j(jVar);
            return false;
        } catch (Exception e) {
            v0.g.f().e("Crashlytics was not started due to an exception during initialization", e);
            this.i = null;
            return false;
        }
    }

    public void q(Boolean bool) {
        this.c.h(bool);
    }
}