导航菜单

页面标题

页面副标题

BAM Crawford v6.14.1 - d1.java 源代码

正在查看: BAM Crawford v6.14.1 应用的 d1.java JAVA 源代码文件

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


package wd;

import android.content.ComponentName;
import android.content.Context;
import android.content.Intent;

public final class d1 {
    static Object a = new Object();
    static le.a b;
    private static Boolean c;

    public static void a(Context context, Intent intent) {
        w0 e = h.c(context).e();
        if (intent == null) {
            e.R0("AnalyticsReceiver called with null intent");
            return;
        }
        String action = intent.getAction();
        e.l("Local AnalyticsReceiver got", action);
        if ("com.google.android.gms.analytics.ANALYTICS_DISPATCH".equals(action)) {
            boolean i = e1.i(context);
            Intent intent2 = new Intent("com.google.android.gms.analytics.ANALYTICS_DISPATCH");
            intent2.setComponent(new ComponentName(context, "com.google.android.gms.analytics.AnalyticsService"));
            intent2.setAction("com.google.android.gms.analytics.ANALYTICS_DISPATCH");
            synchronized (a) {
                context.startService(intent2);
                if (i) {
                    try {
                        if (b == null) {
                            le.a aVar = new le.a(context, 1, "Analytics WakeLock");
                            b = aVar;
                            aVar.d(false);
                        }
                        b.a(1000L);
                    } catch (SecurityException unused) {
                        e.R0("Analytics service at risk of not starting. For more reliable analytics, add the WAKE_LOCK permission to your manifest. See http://goo.gl/8Rd3yj for instructions.");
                    }
                }
            }
        }
    }

    public static boolean b(Context context) {
        ed.r.j(context);
        Boolean bool = c;
        if (bool != null) {
            return bool.booleanValue();
        }
        boolean b2 = k1.b(context, "com.google.android.gms.analytics.AnalyticsReceiver", false);
        c = Boolean.valueOf(b2);
        return b2;
    }
}