remove duplicated crash logging

This commit is contained in:
aliveoutside
2023-03-15 15:20:19 +03:00
parent 0954c8de6e
commit fbb470ed74
@@ -42,8 +42,6 @@ public class CrashReporter {
static void start(Thread.UncaughtExceptionHandler uncaughtExceptionHandler, Thread thread, Throwable th, Activity activity) {
logString = getStackTrace(th) + "\n\n" + new DeviceInfoCollector().collect().toDeviceName();
AnalyticsHelper.trackError(th);
if (Build.VERSION.SDK_INT >= 26) {
var notificationChannel = new NotificationChannel("crashes", AndroidUtils.getString("crash_service_name"), NotificationManager.IMPORTANCE_DEFAULT);
notificationChannel.enableVibration(true);