20 lines
669 B
Java
20 lines
669 B
Java
package com.ubt.jimu.analytics;
|
|
|
|
import android.content.Context;
|
|
import com.tencent.bugly.crashreport.CrashReport;
|
|
import com.ubt.jimu.utils.PackageHelper;
|
|
|
|
/* loaded from: classes.dex */
|
|
public class BuglyUtil {
|
|
public static void a(Context context) {
|
|
CrashReport.UserStrategy userStrategy = new CrashReport.UserStrategy(context.getApplicationContext());
|
|
userStrategy.setAppChannel(PackageHelper.a("CHANNEL_ID"));
|
|
CrashReport.initCrashReport(context.getApplicationContext(), "05931603ef", false, userStrategy);
|
|
CrashReport.enableBugly(false);
|
|
}
|
|
|
|
public static void a(boolean z) {
|
|
CrashReport.enableBugly(z);
|
|
}
|
|
}
|