导航菜单

页面标题

页面副标题

Aisle v12.32 - r.java 源代码

正在查看: Aisle v12.32 应用的 r.java JAVA 源代码文件

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


package t8;

import android.content.Context;
import android.text.TextUtils;
import android.util.Log;
import com.google.android.gms.tasks.Task;
import com.google.android.gms.tasks.Tasks;
import java.util.concurrent.Callable;
import java.util.concurrent.ExecutionException;
import java.util.concurrent.ExecutorService;
import java.util.concurrent.Future;
import java.util.concurrent.TimeUnit;
import java.util.concurrent.TimeoutException;
import q8.C1041g;
import q8.InterfaceC1035a;
import r8.InterfaceC1052a;
import s8.InterfaceC1064a;
import s8.InterfaceC1065b;
import y8.C1244g;

public class r {
    private final Context a;
    private final Z7.g b;
    private final C1100x c;
    private C1095s f;
    private C1095s g;
    private boolean h;
    private C1093p i;
    private final C j;
    private final C1244g k;
    public final InterfaceC1065b l;
    private final InterfaceC1052a m;
    private final ExecutorService n;
    private final C1091n o;
    private final C1090m p;
    private final InterfaceC1035a q;
    private final q8.l r;
    private final long e = System.currentTimeMillis();
    private final H d = new H();

    class a implements Callable {
        final A8.i a;

        a(A8.i iVar) {
            this.a = iVar;
        }

        @Override
        public Task call() {
            return r.this.f(this.a);
        }
    }

    class b implements Runnable {
        final A8.i a;

        b(A8.i iVar) {
            this.a = iVar;
        }

        @Override
        public void run() {
            r.this.f(this.a);
        }
    }

    class c implements Callable {
        c() {
        }

        @Override
        public Boolean call() {
            try {
                boolean d = r.this.f.d();
                if (!d) {
                    C1041g.f().k("Initialization marker file was not properly removed.");
                }
                return Boolean.valueOf(d);
            } catch (Exception e) {
                C1041g.f().e("Problem encountered deleting Crashlytics initialization marker.", e);
                return Boolean.FALSE;
            }
        }
    }

    class d implements Callable {
        d() {
        }

        @Override
        public Boolean call() {
            return Boolean.valueOf(r.this.i.s());
        }
    }

    public r(Z7.g gVar, C c2, InterfaceC1035a interfaceC1035a, C1100x c1100x, InterfaceC1065b interfaceC1065b, InterfaceC1052a interfaceC1052a, C1244g c1244g, ExecutorService executorService, C1090m c1090m, q8.l lVar) {
        this.b = gVar;
        this.c = c1100x;
        this.a = gVar.l();
        this.j = c2;
        this.q = interfaceC1035a;
        this.l = interfaceC1065b;
        this.m = interfaceC1052a;
        this.n = executorService;
        this.k = c1244g;
        this.o = new C1091n(executorService);
        this.p = c1090m;
        this.r = lVar;
    }

    private void d() {
        try {
            this.h = Boolean.TRUE.equals((Boolean) Z.f(this.o.h(new d())));
        } catch (Exception unused) {
            this.h = false;
        }
    }

    public Task f(A8.i iVar) {
        n();
        try {
            this.l.a(new InterfaceC1064a() {
                @Override
                public final void a(String str) {
                    r.this.k(str);
                }
            });
            this.i.R();
            if (!iVar.b().b.a) {
                C1041g.f().b("Collection of crash reports disabled in Crashlytics settings.");
                return Tasks.forException(new RuntimeException("Collection of crash reports disabled in Crashlytics settings."));
            }
            if (!this.i.z(iVar)) {
                C1041g.f().k("Previous sessions could not be finalized.");
            }
            return this.i.U(iVar.a());
        } catch (Exception e) {
            C1041g.f().e("Crashlytics encountered a problem during asynchronous initialization.", e);
            return Tasks.forException(e);
        } finally {
            m();
        }
    }

    private void h(A8.i iVar) {
        Future<?> submit = this.n.submit(new b(iVar));
        C1041g.f().b("Crashlytics detected incomplete initialization on previous app launch. Will initialize synchronously.");
        try {
            submit.get(3L, TimeUnit.SECONDS);
        } catch (InterruptedException e) {
            C1041g.f().e("Crashlytics was interrupted during initialization.", e);
        } catch (ExecutionException e2) {
            C1041g.f().e("Crashlytics encountered a problem during initialization.", e2);
        } catch (TimeoutException e3) {
            C1041g.f().e("Crashlytics timed out during initialization.", e3);
        }
    }

    public static String i() {
        return "19.0.3";
    }

    static boolean j(String str, boolean z) {
        if (!z) {
            C1041g.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 e() {
        return this.f.c();
    }

    public Task g(A8.i iVar) {
        return Z.h(this.n, new a(iVar));
    }

    public void k(String str) {
        this.i.Y(System.currentTimeMillis() - this.e, str);
    }

    public void l(Throwable th) {
        this.i.X(Thread.currentThread(), th);
    }

    void m() {
        this.o.h(new c());
    }

    void n() {
        this.o.b();
        this.f.a();
        C1041g.f().i("Initialization marker file was created.");
    }

    public boolean o(C1078a c1078a, A8.i iVar) {
        if (!j(c1078a.b, AbstractC1086i.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 c1085h = new C1085h(this.j).toString();
        try {
            this.g = new C1095s("crash_marker", this.k);
            this.f = new C1095s("initialization_marker", this.k);
            u8.n nVar = new u8.n(c1085h, this.k, this.o);
            u8.e eVar = new u8.e(this.k);
            B8.a aVar = new B8.a(1024, new B8.c(10));
            this.r.b(nVar);
            this.i = new C1093p(this.a, this.o, this.j, this.c, this.k, this.g, c1078a, nVar, eVar, S.h(this.a, this.j, this.k, c1078a, eVar, nVar, aVar, iVar, this.d, this.p), this.q, this.m, this.p);
            boolean e = e();
            d();
            this.i.x(c1085h, Thread.getDefaultUncaughtExceptionHandler(), iVar);
            if (!e || !AbstractC1086i.d(this.a)) {
                C1041g.f().b("Successfully configured exception handler.");
                return true;
            }
            C1041g.f().b("Crashlytics did not finish previous background initialization. Initializing synchronously.");
            h(iVar);
            return false;
        } catch (Exception e2) {
            C1041g.f().e("Crashlytics was not started due to an exception during initialization", e2);
            this.i = null;
            return false;
        }
    }

    public void p(String str) {
        this.i.T(str);
    }
}