MD5 校验值:63f8e52e07318fa084f03ba71262387f
r.java 文件包含反编译后的源代码,请注意,该内容仅供学习和参考使用,不得用于非法用途。
package o5; 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.ExecutorService; import java.util.concurrent.Future; import java.util.concurrent.TimeUnit; import java.util.concurrent.TimeoutException; public class r { private final Context f13109a; private final b5.f f13110b; private final x f13111c; private s f13114f; private s f13115g; private boolean f13116h; private p f13117i; private final b0 f13118j; private final t5.f f13119k; public final n5.b f13120l; private final m5.a f13121m; private final ExecutorService f13122n; private final n f13123o; private final m f13124p; private final l5.a f13125q; private final l5.k f13126r; private final long f13113e = System.currentTimeMillis(); private final g0 f13112d = new g0(); class a implements Callable<u4.l<Void>> { final v5.i f13127a; a(v5.i iVar) { this.f13127a = iVar; } @Override public u4.l<Void> call() { return r.this.i(this.f13127a); } } public class b implements Runnable { final v5.i f13129o; b(v5.i iVar) { this.f13129o = iVar; } @Override public void run() { r.this.i(this.f13129o); } } public class c implements Callable<Boolean> { c() { } @Override public Boolean call() { try { boolean d10 = r.this.f13114f.d(); if (!d10) { l5.g.f().k("Initialization marker file was not properly removed."); } return Boolean.valueOf(d10); } catch (Exception e10) { l5.g.f().e("Problem encountered deleting Crashlytics initialization marker.", e10); return Boolean.FALSE; } } } public class d implements Callable<Boolean> { d() { } @Override public Boolean call() { return Boolean.valueOf(r.this.f13117i.u()); } } public r(b5.f fVar, b0 b0Var, l5.a aVar, x xVar, n5.b bVar, m5.a aVar2, t5.f fVar2, ExecutorService executorService, m mVar, l5.k kVar) { this.f13110b = fVar; this.f13111c = xVar; this.f13109a = fVar.m(); this.f13118j = b0Var; this.f13125q = aVar; this.f13120l = bVar; this.f13121m = aVar2; this.f13122n = executorService; this.f13119k = fVar2; this.f13123o = new n(executorService); this.f13124p = mVar; this.f13126r = kVar; } private void d() { boolean z10; try { z10 = Boolean.TRUE.equals((Boolean) q0.f(this.f13123o.h(new d()))); } catch (Exception unused) { z10 = false; } this.f13116h = z10; } public u4.l<Void> i(v5.i iVar) { r(); try { this.f13120l.a(new n5.a() { @Override public final void a(String str) { r.this.n(str); } }); this.f13117i.V(); if (!iVar.b().f17394b.f17401a) { l5.g.f().b("Collection of crash reports disabled in Crashlytics settings."); return u4.o.e(new RuntimeException("Collection of crash reports disabled in Crashlytics settings.")); } if (!this.f13117i.B(iVar)) { l5.g.f().k("Previous sessions could not be finalized."); } return this.f13117i.a0(iVar.a()); } catch (Exception e10) { l5.g.f().e("Crashlytics encountered a problem during asynchronous initialization.", e10); return u4.o.e(e10); } finally { q(); } } private void k(v5.i iVar) { l5.g f10; String str; Future<?> submit = this.f13122n.submit(new b(iVar)); l5.g.f().b("Crashlytics detected incomplete initialization on previous app launch. Will initialize synchronously."); try { submit.get(3L, TimeUnit.SECONDS); } catch (InterruptedException e10) { e = e10; f10 = l5.g.f(); str = "Crashlytics was interrupted during initialization."; f10.e(str, e); } catch (ExecutionException e11) { e = e11; f10 = l5.g.f(); str = "Crashlytics encountered a problem during initialization."; f10.e(str, e); } catch (TimeoutException e12) { e = e12; f10 = l5.g.f(); str = "Crashlytics timed out during initialization."; f10.e(str, e); } } public static String l() { return "18.6.0"; } static boolean m(String str, boolean z10) { if (!z10) { l5.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 u4.l<Boolean> e() { return this.f13117i.o(); } public u4.l<Void> f() { return this.f13117i.t(); } public boolean g() { return this.f13116h; } boolean h() { return this.f13114f.c(); } public u4.l<Void> j(v5.i iVar) { return q0.h(this.f13122n, new a(iVar)); } public void n(String str) { this.f13117i.e0(System.currentTimeMillis() - this.f13113e, str); } public void o(Throwable th) { this.f13117i.d0(Thread.currentThread(), th); } public void p(Throwable th) { l5.g.f().b("Recorded on-demand fatal events: " + this.f13112d.b()); l5.g.f().b("Dropped on-demand fatal events: " + this.f13112d.a()); this.f13117i.Y("com.crashlytics.on-demand.recorded-exceptions", Integer.toString(this.f13112d.b())); this.f13117i.Y("com.crashlytics.on-demand.dropped-exceptions", Integer.toString(this.f13112d.a())); this.f13117i.Q(Thread.currentThread(), th); } void q() { this.f13123o.h(new c()); } void r() { this.f13123o.b(); this.f13114f.a(); l5.g.f().i("Initialization marker file was created."); } public boolean s(o5.a aVar, v5.i iVar) { if (!m(aVar.f12975b, i.i(this.f13109a, "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.f13118j).toString(); try { this.f13115g = new s("crash_marker", this.f13119k); this.f13114f = new s("initialization_marker", this.f13119k); p5.m mVar = new p5.m(hVar, this.f13119k, this.f13123o); p5.e eVar = new p5.e(this.f13119k); w5.a aVar2 = new w5.a(1024, new w5.c(10)); this.f13126r.c(mVar); this.f13117i = new p(this.f13109a, this.f13123o, this.f13118j, this.f13111c, this.f13119k, this.f13115g, aVar, mVar, eVar, j0.h(this.f13109a, this.f13118j, this.f13119k, aVar, eVar, mVar, aVar2, iVar, this.f13112d, this.f13124p), this.f13125q, this.f13121m, this.f13124p); boolean h10 = h(); d(); this.f13117i.z(hVar, Thread.getDefaultUncaughtExceptionHandler(), iVar); if (!h10 || !i.d(this.f13109a)) { l5.g.f().b("Successfully configured exception handler."); return true; } l5.g.f().b("Crashlytics did not finish previous background initialization. Initializing synchronously."); k(iVar); return false; } catch (Exception e10) { l5.g.f().e("Crashlytics was not started due to an exception during initialization", e10); this.f13117i = null; return false; } } public u4.l<Void> t() { return this.f13117i.W(); } public void u(Boolean bool) { this.f13111c.h(bool); } public void v(String str, String str2) { this.f13117i.X(str, str2); } public void w(String str, String str2) { this.f13117i.Y(str, str2); } public void x(String str) { this.f13117i.Z(str); } }