APK反编译源代码展示 - 南明离火平台提供

应用版本信息
应用名称:JadiBUMN
版本号:2.1.3
包名称:id.jadibumn.app

MD5 校验值:328357c6f846d37b47ed4cc8f5415f3d

反编译源代码说明

t2.java 文件包含反编译后的源代码,请注意,该内容仅供学习和参考使用,不得用于非法用途。


package d.f.a.c.e.i;

import android.app.Activity;
import android.app.Application;
import android.content.Context;
import android.os.Bundle;
import android.util.Log;
import com.google.android.gms.dynamite.DynamiteModule;
import com.google.android.gms.dynamite.descriptors.com.google.android.gms.measurement.dynamite.ModuleDescriptor;
import java.util.ArrayList;
import java.util.Collections;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import java.util.Random;
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 t2 {
    private static volatile t2 a;

    private final String f6471b;

    protected final com.google.android.gms.common.util.d f6472c;

    protected final ExecutorService f6473d;

    private final com.google.android.gms.measurement.a.a f6474e;

    private final List f6475f;

    private int f6476g;

    private boolean f6477h;

    private final String f6478i;

    private volatile f1 f6479j;

    protected t2(Context context, String str, String str2, String str3, Bundle bundle) {
        this.f6471b = (str == null || !l(str2, str3)) ? "FA" : str;
        this.f6472c = com.google.android.gms.common.util.g.d();
        z0.a();
        ThreadPoolExecutor threadPoolExecutor = new ThreadPoolExecutor(1, 1, 60L, TimeUnit.SECONDS, new LinkedBlockingQueue(), new e2(this));
        threadPoolExecutor.allowCoreThreadTimeOut(true);
        this.f6473d = Executors.unconfigurableExecutorService(threadPoolExecutor);
        this.f6474e = new com.google.android.gms.measurement.a.a(this);
        this.f6475f = new ArrayList();
        try {
            if (com.google.android.gms.measurement.internal.l7.b(context, "google_app_id", com.google.android.gms.measurement.internal.q4.a(context)) != null && !h()) {
                this.f6478i = null;
                this.f6477h = true;
                Log.w(this.f6471b, "Disabling data collection. Found google_app_id in strings.xml but Google Analytics for Firebase is missing. Remove this value or add Google Analytics for Firebase to resume data collection.");
                return;
            }
        } catch (IllegalStateException unused) {
        }
        if (l(str2, str3)) {
            this.f6478i = str2;
        } else {
            this.f6478i = "fa";
            if (str2 == null || str3 == null) {
                if ((str2 == null) ^ (str3 == null)) {
                    Log.w(this.f6471b, "Specified origin or custom app id is null. Both parameters will be ignored.");
                }
            } else {
                Log.v(this.f6471b, "Deferring to Google Analytics for Firebase for event data collection. https://goo.gl/J1sWQy");
            }
        }
        k(new t1(this, str2, str3, context, bundle));
        Application application = (Application) context.getApplicationContext();
        if (application == null) {
            Log.w(this.f6471b, "Unable to register lifecycle notifications. Application null.");
        } else {
            application.registerActivityLifecycleCallbacks(new s2(this));
        }
    }

    public final void i(Exception exc, boolean z, boolean z2) {
        this.f6477h |= z;
        if (z) {
            Log.w(this.f6471b, "Data collection startup failed. No data will be collected.", exc);
            return;
        }
        if (z2) {
            a(5, "Error with data collection. Data lost.", exc, null, null);
        }
        Log.w(this.f6471b, "Error with data collection. Data lost.", exc);
    }

    private final void j(String str, String str2, Bundle bundle, boolean z, boolean z2, Long l2) {
        k(new h2(this, l2, str, str2, bundle, z, z2));
    }

    public final void k(j2 j2Var) {
        this.f6473d.execute(j2Var);
    }

    public final boolean l(String str, String str2) {
        return (str2 == null || str == null || h()) ? false : true;
    }

    public static t2 r(Context context, String str, String str2, String str3, Bundle bundle) {
        com.google.android.gms.common.internal.r.j(context);
        if (a == null) {
            synchronized (t2.class) {
                if (a == null) {
                    a = new t2(context, str, str2, str3, bundle);
                }
            }
        }
        return a;
    }

    public final void C(String str) {
        k(new u1(this, str));
    }

    public final void D(String str, String str2, Bundle bundle) {
        k(new q1(this, str, str2, bundle));
    }

    public final void E(String str) {
        k(new v1(this, str));
    }

    public final void F(String str, String str2, Bundle bundle) {
        j(str, str2, bundle, true, true, null);
    }

    public final void a(int i2, String str, Object obj, Object obj2, Object obj3) {
        k(new d2(this, false, 5, str, obj, null, null));
    }

    public final void b(Bundle bundle) {
        k(new p1(this, bundle));
    }

    public final void c(Activity activity, String str, String str2) {
        k(new s1(this, activity, str, str2));
    }

    public final void d(boolean z) {
        k(new g2(this, z));
    }

    public final void e(String str, String str2, Object obj, boolean z) {
        k(new i2(this, str, str2, obj, z));
    }

    protected final boolean h() {
        try {
            Class.forName("com.google.firebase.analytics.FirebaseAnalytics", false, getClass().getClassLoader());
            return true;
        } catch (ClassNotFoundException unused) {
            return false;
        }
    }

    public final int m(String str) {
        b1 b1Var = new b1();
        k(new f2(this, str, b1Var));
        Integer num = (Integer) b1.g1(b1Var.f(10000L), Integer.class);
        if (num == null) {
            return 25;
        }
        return num.intValue();
    }

    public final long n() {
        b1 b1Var = new b1();
        k(new z1(this, b1Var));
        Long i2 = b1Var.i(500L);
        if (i2 != null) {
            return i2.longValue();
        }
        long nextLong = new Random(System.nanoTime() ^ this.f6472c.a()).nextLong();
        int i3 = this.f6476g + 1;
        this.f6476g = i3;
        return nextLong + i3;
    }

    public final com.google.android.gms.measurement.a.a o() {
        return this.f6474e;
    }

    public final f1 q(Context context, boolean z) {
        try {
            return e1.asInterface(DynamiteModule.d(context, DynamiteModule.f2421d, ModuleDescriptor.MODULE_ID).c("com.google.android.gms.measurement.internal.AppMeasurementDynamiteService"));
        } catch (DynamiteModule.a e2) {
            i(e2, true, false);
            return null;
        }
    }

    public final String t() {
        b1 b1Var = new b1();
        k(new y1(this, b1Var));
        return b1Var.f1(50L);
    }

    public final String u() {
        b1 b1Var = new b1();
        k(new b2(this, b1Var));
        return b1Var.f1(500L);
    }

    public final String v() {
        b1 b1Var = new b1();
        k(new a2(this, b1Var));
        return b1Var.f1(500L);
    }

    public final String w() {
        b1 b1Var = new b1();
        k(new x1(this, b1Var));
        return b1Var.f1(500L);
    }

    public final List x(String str, String str2) {
        b1 b1Var = new b1();
        k(new r1(this, str, str2, b1Var));
        List list = (List) b1.g1(b1Var.f(5000L), List.class);
        return list == null ? Collections.emptyList() : list;
    }

    public final Map y(String str, String str2, boolean z) {
        b1 b1Var = new b1();
        k(new c2(this, str, str2, z, b1Var));
        Bundle f2 = b1Var.f(5000L);
        if (f2 == null || f2.size() == 0) {
            return Collections.emptyMap();
        }
        HashMap hashMap = new HashMap(f2.size());
        for (String str3 : f2.keySet()) {
            Object obj = f2.get(str3);
            if ((obj instanceof Double) || (obj instanceof Long) || (obj instanceof String)) {
                hashMap.put(str3, obj);
            }
        }
        return hashMap;
    }
}