导航菜单

页面标题

页面副标题

Empower MX v1.29.4.340 - C0726z.java 源代码

正在查看: Empower MX v1.29.4.340 应用的 C0726z.java JAVA 源代码文件

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


package M5;

import android.content.Context;
import android.text.TextUtils;
import com.google.android.gms.tasks.Task;
import io.sentry.android.core.z0;
import java.util.Map;
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;

public class C0726z {
    private final Context a;
    private final com.google.firebase.f b;
    private final F c;
    private A f;
    private A g;
    private boolean h;
    private C0718q i;
    private final K j;
    private final S5.g k;
    public final L5.b l;
    private final K5.a m;
    private final C0714m n;
    private final J5.a o;
    private final J5.l p;
    private final N5.f q;
    private final long e = System.currentTimeMillis();
    private final P d = new P();

    public C0726z(com.google.firebase.f fVar, K k, J5.a aVar, F f, L5.b bVar, K5.a aVar2, S5.g gVar, C0714m c0714m, J5.l lVar, N5.f fVar2) {
        this.b = fVar;
        this.c = f;
        this.a = fVar.k();
        this.j = k;
        this.o = aVar;
        this.l = bVar;
        this.m = aVar2;
        this.k = gVar;
        this.n = c0714m;
        this.p = lVar;
        this.q = fVar2;
    }

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

    public void q(U5.j jVar) {
        N5.f.c();
        y();
        try {
            try {
                this.l.a(new L5.a() {
                    @Override
                    public final void a(String str) {
                        C0726z.this.v(str);
                    }
                });
                this.i.S();
            } catch (Exception e) {
                J5.g.f().e("Crashlytics encountered a problem during asynchronous initialization.", e);
            }
            if (!jVar.b().b.a) {
                J5.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)) {
                J5.g.f().k("Previous sessions could not be finalized.");
            }
            this.i.V(jVar.a());
            x();
        } catch (Throwable th) {
            x();
            throw th;
        }
    }

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

    public static String m() {
        return "19.4.1";
    }

    static boolean n(String str, boolean z) {
        if (!z) {
            J5.g.f().i("Configured not to require a build ID.");
            return true;
        }
        if (!TextUtils.isEmpty(str)) {
            return true;
        }
        z0.d("FirebaseCrashlytics", ".");
        z0.d("FirebaseCrashlytics", ".     |  | ");
        z0.d("FirebaseCrashlytics", ".     |  |");
        z0.d("FirebaseCrashlytics", ".     |  |");
        z0.d("FirebaseCrashlytics", ".   \\ |  | /");
        z0.d("FirebaseCrashlytics", ".    \\    /");
        z0.d("FirebaseCrashlytics", ".     \\  /");
        z0.d("FirebaseCrashlytics", ".      \\/");
        z0.d("FirebaseCrashlytics", ".");
        z0.d("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");
        z0.d("FirebaseCrashlytics", ".");
        z0.d("FirebaseCrashlytics", ".      /\\");
        z0.d("FirebaseCrashlytics", ".     /  \\");
        z0.d("FirebaseCrashlytics", ".    /    \\");
        z0.d("FirebaseCrashlytics", ".   / |  | \\");
        z0.d("FirebaseCrashlytics", ".     |  |");
        z0.d("FirebaseCrashlytics", ".     |  |");
        z0.d("FirebaseCrashlytics", ".     |  |");
        z0.d("FirebaseCrashlytics", ".");
        return false;
    }

    public Boolean o() {
        return Boolean.valueOf(this.i.r());
    }

    public void r(long j, String str) {
        this.i.Z(j, str);
    }

    public void s(final long j, final String str) {
        this.q.b.f(new Runnable() {
            @Override
            public final void run() {
                C0726z.this.r(j, str);
            }
        });
    }

    public void t(Throwable th, Map map) {
        this.i.Y(Thread.currentThread(), th, map);
    }

    public void u(String str) {
        this.i.U(str);
    }

    public void A(final String str) {
        this.q.a.f(new Runnable() {
            @Override
            public final void run() {
                C0726z.this.u(str);
            }
        });
    }

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

    public Task k(final U5.j jVar) {
        return this.q.a.f(new Runnable() {
            @Override
            public final void run() {
                C0726z.this.p(jVar);
            }
        });
    }

    public void v(final String str) {
        final long currentTimeMillis = System.currentTimeMillis() - this.e;
        this.q.a.f(new Runnable() {
            @Override
            public final void run() {
                C0726z.this.s(currentTimeMillis, str);
            }
        });
    }

    public void w(final Throwable th, final Map map) {
        this.q.a.f(new Runnable() {
            @Override
            public final void run() {
                C0726z.this.t(th, map);
            }
        });
    }

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

    void y() {
        N5.f.c();
        this.f.a();
        J5.g.f().i("Initialization marker file was created.");
    }

    public boolean z(C0702a c0702a, U5.j jVar) {
        if (!n(c0702a.b, AbstractC0710i.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 C0709h().c();
        try {
            this.g = new A("crash_marker", this.k);
            this.f = new A("initialization_marker", this.k);
            O5.p pVar = new O5.p(c, this.k, this.q);
            O5.f fVar = new O5.f(this.k);
            V5.a aVar = new V5.a(1024, new V5.c(10));
            this.p.c(pVar);
            this.i = new C0718q(this.a, this.j, this.c, this.k, this.g, c0702a, pVar, fVar, e0.j(this.a, this.j, this.k, c0702a, fVar, pVar, aVar, jVar, this.d, this.n, this.q), this.o, this.m, this.n, this.q);
            boolean i = i();
            h();
            this.i.w(c, Thread.getDefaultUncaughtExceptionHandler(), jVar);
            if (!i || !AbstractC0710i.d(this.a)) {
                J5.g.f().b("Successfully configured exception handler.");
                return true;
            }
            J5.g.f().b("Crashlytics did not finish previous background initialization. Initializing synchronously.");
            l(jVar);
            return false;
        } catch (Exception e) {
            J5.g.f().e("Crashlytics was not started due to an exception during initialization", e);
            this.i = null;
            return false;
        }
    }
}