MD5 校验值:a9a821418db4ad35214aeeb08c2f5902
t1.java 文件包含反编译后的源代码,请注意,该内容仅供学习和参考使用,不得用于非法用途。
package t2; import android.app.Application; import android.content.Context; import android.os.Bundle; import android.util.Log; import java.util.ArrayList; import java.util.Collections; import java.util.HashMap; import java.util.List; import java.util.Map; import java.util.Objects; import java.util.concurrent.ExecutorService; import java.util.concurrent.Executors; import java.util.concurrent.LinkedBlockingQueue; import java.util.concurrent.ThreadPoolExecutor; import java.util.concurrent.TimeUnit; public final class t1 { public static volatile t1 f9002g; public final ExecutorService f9003a; public final y2.a f9004b; public final List f9005c; public int f9006d; public boolean f9007e; public volatile o0 f9008f; public t1(Context context, String str, String str2, String str3, Bundle bundle) { ThreadPoolExecutor threadPoolExecutor = new ThreadPoolExecutor(1, 1, 60L, TimeUnit.SECONDS, new LinkedBlockingQueue(), new j1()); threadPoolExecutor.allowCoreThreadTimeOut(true); this.f9003a = Executors.unconfigurableExecutorService(threadPoolExecutor); this.f9004b = new y2.a(this); this.f9005c = new ArrayList(); try { c.a.s(context, "google_app_id", z2.h4.a(context)); } catch (IllegalStateException unused) { } if (str2 == null || str3 == null) { if ((str3 == null) ^ (str2 == null)) { Log.w("FA", "Specified origin or custom app id is null. Both parameters will be ignored."); } } else { Log.v("FA", "Deferring to Google Analytics for Firebase for event data collection. https://goo.gl/J1sWQy"); } this.f9003a.execute(new c1(this, str2, str3, context, bundle)); Application application = (Application) context.getApplicationContext(); if (application == null) { Log.w("FA", "Unable to register lifecycle notifications. Application null."); } else { application.registerActivityLifecycleCallbacks(new s1(this)); } } public static t1 e(Context context, String str, String str2, String str3, Bundle bundle) { Objects.requireNonNull(context, "null reference"); if (f9002g == null) { synchronized (t1.class) { if (f9002g == null) { f9002g = new t1(context, null, null, null, bundle); } } } return f9002g; } public final void a(String str, String str2, Object obj, boolean z8) { this.f9003a.execute(new l1(this, str, str2, obj, z8)); } public final void b(Exception exc, boolean z8, boolean z9) { this.f9007e |= z8; if (z8) { Log.w("FA", "Data collection startup failed. No data will be collected.", exc); return; } if (z9) { this.f9003a.execute(new i1(this, "Error with data collection. Data lost.", exc)); } Log.w("FA", "Error with data collection. Data lost.", exc); } public final void c(String str, String str2, Bundle bundle, boolean z8, boolean z9, Long l9) { this.f9003a.execute(new k1(this, null, str, str2, bundle, z8, z9)); } public final int d(String str) { k0 k0Var = new k0(); this.f9003a.execute(new i1(this, str, k0Var)); Integer num = (Integer) k0.M(k0Var.f(10000L), Integer.class); if (num == null) { return 25; } return num.intValue(); } public final List f(String str, String str2) { k0 k0Var = new k0(); this.f9003a.execute(new b1(this, str, str2, k0Var)); List list = (List) k0.M(k0Var.f(5000L), List.class); return list == null ? Collections.emptyList() : list; } public final Map g(String str, String str2, boolean z8) { k0 k0Var = new k0(); this.f9003a.execute(new h1(this, str, str2, z8, k0Var)); Bundle f3 = k0Var.f(5000L); if (f3 == null || f3.size() == 0) { return Collections.emptyMap(); } HashMap hashMap = new HashMap(f3.size()); for (String str3 : f3.keySet()) { Object obj = f3.get(str3); if ((obj instanceof Double) || (obj instanceof Long) || (obj instanceof String)) { hashMap.put(str3, obj); } } return hashMap; } }