MD5 校验值:7cd346351ab05a28e42aff65173e0141
q.java 文件包含反编译后的源代码,请注意,该内容仅供学习和参考使用,不得用于非法用途。
package h8; import android.content.Context; import java.util.Locale; import java.util.concurrent.CountDownLatch; import java.util.concurrent.atomic.AtomicReference; public class q { private final AtomicReference<t> f9005a; private final CountDownLatch f9006b; private s f9007c; private boolean f9008d; public static class b { private static final q f9009a = new q(); } public static q b() { return b.f9009a; } private void f(t tVar) { this.f9005a.set(tVar); this.f9006b.countDown(); } public t a() { try { this.f9006b.await(); return this.f9005a.get(); } catch (InterruptedException unused) { io.fabric.sdk.android.c.p().h("Fabric", "Interrupted while waiting for settings data."); return null; } } public synchronized q c(io.fabric.sdk.android.h hVar, io.fabric.sdk.android.services.common.s sVar, f8.c cVar, String str, String str2, String str3, io.fabric.sdk.android.services.common.l lVar) { if (this.f9008d) { return this; } if (this.f9007c == null) { Context context = hVar.getContext(); String h10 = sVar.h(); String e10 = new io.fabric.sdk.android.services.common.g().e(context); String k10 = sVar.k(); this.f9007c = new j(hVar, new w(e10, sVar.l(), sVar.m(), sVar.n(), sVar.i(), io.fabric.sdk.android.services.common.i.i(io.fabric.sdk.android.services.common.i.P(context)), str2, str, io.fabric.sdk.android.services.common.m.a(k10).h(), io.fabric.sdk.android.services.common.i.l(context)), new io.fabric.sdk.android.services.common.w(), new k(), new i(hVar), new l(hVar, str3, String.format(Locale.US, "https://settings.crashlytics.com/spi/v2/platforms/android/apps/%s/settings", h10), cVar), lVar); } this.f9008d = true; return this; } public synchronized boolean d() { t b10; b10 = this.f9007c.b(); f(b10); return b10 != null; } public synchronized boolean e() { t a10; a10 = this.f9007c.a(r.SKIP_CACHE_LOOKUP); f(a10); if (a10 == null) { io.fabric.sdk.android.c.p().j("Fabric", "Failed to force reload of settings from Crashlytics.", null); } return a10 != null; } private q() { this.f9005a = new AtomicReference<>(); this.f9006b = new CountDownLatch(1); this.f9008d = false; } }