Initial commit
This commit is contained in:
19
sources/com/ubt/jimu/analytics/BuglyUtil.java
Normal file
19
sources/com/ubt/jimu/analytics/BuglyUtil.java
Normal file
@@ -0,0 +1,19 @@
|
||||
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);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user