导航菜单

页面标题

页面副标题

Namma Yatri v3.3.7 - C0433z.java 源代码

正在查看: Namma Yatri v3.3.7 应用的 C0433z.java JAVA 源代码文件

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


package a9;

import android.content.Context;
import android.text.TextUtils;
import android.util.Log;
import b9.C0443f;
import c9.C0471f;
import c9.C0481p;
import com.google.android.gms.tasks.Task;
import j9.C1119a;
import j9.C1121c;
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 C0433z {
    private final Context a;
    private final N8.g b;
    private final C0383F c;
    private C0378A f;
    private C0378A g;
    private boolean h;
    private C0423p i;
    private final C0388K j;
    private final g9.g k;
    public final Z8.b l;
    private final Y8.a m;
    private final C0420m n;
    private final X8.a o;
    private final X8.l p;
    private final C0443f q;
    private final long e = System.currentTimeMillis();
    private final C0393P d = new C0393P();

    public C0433z(N8.g gVar, C0388K c0388k, X8.a aVar, C0383F c0383f, Z8.b bVar, Y8.a aVar2, g9.g gVar2, C0420m c0420m, X8.l lVar, C0443f c0443f) {
        this.b = gVar;
        this.c = c0383f;
        this.a = gVar.m();
        this.j = c0388k;
        this.o = aVar;
        this.l = bVar;
        this.m = aVar2;
        this.k = gVar2;
        this.n = c0420m;
        this.p = lVar;
        this.q = c0443f;
    }

    public void A(String str) {
        this.i.Y(str);
    }

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

    public void v(i9.j jVar) {
        C0443f.c();
        E();
        try {
            try {
                this.l.a(new Z8.a() {
                    @Override
                    public final void a(String str) {
                        C0433z.this.B(str);
                    }
                });
                this.i.U();
            } catch (Exception e) {
                X8.g.f().e("Crashlytics encountered a problem during asynchronous initialization.", e);
            }
            if (!jVar.b().b.a) {
                X8.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.A(jVar)) {
                X8.g.f().k("Previous sessions could not be finalized.");
            }
            this.i.Z(jVar.a());
            D();
        } catch (Throwable th) {
            D();
            throw th;
        }
    }

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

    public static String q() {
        return "19.4.3";
    }

    static boolean r(String str, boolean z) {
        if (!z) {
            X8.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;
    }

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

    public void w(long j, String str) {
        this.i.d0(j, str);
    }

    public void x(final long j, final String str) {
        this.q.b.g(new Runnable() {
            @Override
            public final void run() {
                C0433z.this.w(j, str);
            }
        });
    }

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

    public void z(String str, String str2) {
        this.i.W(str, str2);
    }

    public void B(final String str) {
        final long currentTimeMillis = System.currentTimeMillis() - this.e;
        this.q.a.g(new Runnable() {
            @Override
            public final void run() {
                C0433z.this.x(currentTimeMillis, str);
            }
        });
    }

    public void C(final Throwable th, final Map map) {
        this.q.a.g(new Runnable() {
            @Override
            public final void run() {
                C0433z.this.y(th, map);
            }
        });
    }

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

    void E() {
        C0443f.c();
        this.f.a();
        X8.g.f().i("Initialization marker file was created.");
    }

    public boolean F(C0403a c0403a, i9.j jVar) {
        if (!r(c0403a.b, AbstractC0416i.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 C0415h().c();
        try {
            this.g = new C0378A("crash_marker", this.k);
            this.f = new C0378A("initialization_marker", this.k);
            C0481p c0481p = new C0481p(c, this.k, this.q);
            C0471f c0471f = new C0471f(this.k);
            C1119a c1119a = new C1119a(1024, new C1121c(10));
            this.p.c(c0481p);
            this.i = new C0423p(this.a, this.j, this.c, this.k, this.g, c0403a, c0481p, c0471f, C0406b0.j(this.a, this.j, this.k, c0403a, c0471f, c0481p, c1119a, jVar, this.d, this.n, this.q), this.o, this.m, this.n, this.q);
            boolean m = m();
            i();
            this.i.y(c, Thread.getDefaultUncaughtExceptionHandler(), jVar);
            if (!m || !AbstractC0416i.d(this.a)) {
                X8.g.f().b("Successfully configured exception handler.");
                return true;
            }
            X8.g.f().b("Crashlytics did not finish previous background initialization. Initializing synchronously.");
            p(jVar);
            return false;
        } catch (Exception e) {
            X8.g.f().e("Crashlytics was not started due to an exception during initialization", e);
            this.i = null;
            return false;
        }
    }

    public Task G() {
        return this.i.V();
    }

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

    public void I(final String str, final String str2) {
        this.q.a.g(new Runnable() {
            @Override
            public final void run() {
                C0433z.this.z(str, str2);
            }
        });
    }

    public void J(final String str) {
        this.q.a.g(new Runnable() {
            @Override
            public final void run() {
                C0433z.this.A(str);
            }
        });
    }

    public Task j() {
        return this.i.n();
    }

    public Task k() {
        return this.i.s();
    }

    public boolean l() {
        return this.h;
    }

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

    public Task o(final i9.j jVar) {
        return this.q.a.g(new Runnable() {
            @Override
            public final void run() {
                C0433z.this.u(jVar);
            }
        });
    }

    public boolean s() {
        return this.c.d();
    }
}