导航菜单

页面标题

页面副标题

Hyouka private v5.8.9 - s.java 源代码

正在查看: Hyouka private v5.8.9 应用的 s.java JAVA 源代码文件

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


package w6;

import android.content.Context;
import android.text.TextUtils;
import android.util.Log;
import com.google.firebase.FirebaseApp;
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;

public class s {

    private final Context f8883a;

    private final FirebaseApp f8884b;

    private final y f8885c;

    private t f8888f;

    private t f8889g;

    private boolean f8890h;

    private q f8891i;

    private final c0 f8892j;

    private final b7.f f8893k;

    public final v6.b f8894l;

    private final u6.a f8895m;

    private final ExecutorService f8896n;

    private final n f8897o;

    private final m f8898p;

    private final t6.a f8899q;

    private final long f8887e = System.currentTimeMillis();

    private final h0 f8886d = new h0();

    class a implements Callable<k5.h<Void>> {

        final d7.i f8900a;

        a(d7.i iVar) {
            this.f8900a = iVar;
        }

        @Override
        public k5.h<Void> call() throws Exception {
            return s.this.f(this.f8900a);
        }
    }

    class b implements Runnable {

        final d7.i f8902a;

        b(d7.i iVar) {
            this.f8902a = iVar;
        }

        @Override
        public void run() {
            s.this.f(this.f8902a);
        }
    }

    class c implements Callable<Boolean> {
        c() {
        }

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

    class d implements Callable<Boolean> {
        d() {
        }

        @Override
        public Boolean call() throws Exception {
            return Boolean.valueOf(s.this.f8891i.s());
        }
    }

    public s(FirebaseApp firebaseApp, c0 c0Var, t6.a aVar, y yVar, v6.b bVar, u6.a aVar2, b7.f fVar, ExecutorService executorService, m mVar) {
        this.f8884b = firebaseApp;
        this.f8885c = yVar;
        this.f8883a = firebaseApp.k();
        this.f8892j = c0Var;
        this.f8899q = aVar;
        this.f8894l = bVar;
        this.f8895m = aVar2;
        this.f8896n = executorService;
        this.f8893k = fVar;
        this.f8897o = new n(executorService);
        this.f8898p = mVar;
    }

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

    public k5.h<Void> f(d7.i iVar) {
        n();
        try {
            this.f8894l.a(new v6.a() {
                @Override
                public final void a(String str) {
                    s.this.k(str);
                }
            });
            this.f8891i.S();
            if (!iVar.b().f6109b.f6116a) {
                t6.f.f().b("Collection of crash reports disabled in Crashlytics settings.");
                return k5.k.d(new RuntimeException("Collection of crash reports disabled in Crashlytics settings."));
            }
            if (!this.f8891i.z(iVar)) {
                t6.f.f().k("Previous sessions could not be finalized.");
            }
            return this.f8891i.U(iVar.a());
        } catch (Exception e2) {
            t6.f.f().e("Crashlytics encountered a problem during asynchronous initialization.", e2);
            return k5.k.d(e2);
        } finally {
            m();
        }
    }

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

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

    static boolean j(String str, boolean z2) {
        if (!z2) {
            t6.f.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.f8888f.c();
    }

    public k5.h<Void> g(d7.i iVar) {
        return a1.h(this.f8896n, new a(iVar));
    }

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

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

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

    void n() {
        this.f8897o.b();
        this.f8888f.a();
        t6.f.f().i("Initialization marker file was created.");
    }

    public boolean o(w6.a aVar, d7.i iVar) {
        if (!j(aVar.f8758b, i.j(this.f8883a, "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 hVar = new h(this.f8892j).toString();
        try {
            this.f8889g = new t("crash_marker", this.f8893k);
            this.f8888f = new t("initialization_marker", this.f8893k);
            x6.h hVar2 = new x6.h(hVar, this.f8893k, this.f8897o);
            x6.c cVar = new x6.c(this.f8893k);
            this.f8891i = new q(this.f8883a, this.f8897o, this.f8892j, this.f8885c, this.f8893k, this.f8889g, aVar, hVar2, cVar, t0.g(this.f8883a, this.f8892j, this.f8893k, aVar, cVar, hVar2, new e7.a(1024, new e7.c(10)), iVar, this.f8886d, this.f8898p), this.f8899q, this.f8895m, this.f8898p);
            boolean e2 = e();
            d();
            this.f8891i.x(hVar, Thread.getDefaultUncaughtExceptionHandler(), iVar);
            if (!e2 || !i.d(this.f8883a)) {
                t6.f.f().b("Successfully configured exception handler.");
                return true;
            }
            t6.f.f().b("Crashlytics did not finish previous background initialization. Initializing synchronously.");
            h(iVar);
            return false;
        } catch (Exception e3) {
            t6.f.f().e("Crashlytics was not started due to an exception during initialization", e3);
            this.f8891i = null;
            return false;
        }
    }
}