mirror of
https://github.com/M66B/FairEmail.git
synced 2026-03-28 11:55:20 +01:00
@@ -314,7 +314,6 @@ public class Log {
|
||||
|
||||
static void setCrashReporting(boolean enabled) {
|
||||
try {
|
||||
System.setProperty("com.bugsnag.android.enabled", Boolean.toString(enabled));
|
||||
if (enabled)
|
||||
Bugsnag.resumeSession();
|
||||
else
|
||||
@@ -590,10 +589,8 @@ public class Log {
|
||||
Log.i("uuid=" + uuid);
|
||||
client.setUser(uuid, null, null);
|
||||
|
||||
if (prefs.getBoolean("crash_reports", false) || Log.isTestRelease()) {
|
||||
System.setProperty("com.bugsnag.android.enabled", Boolean.toString(true));
|
||||
if (prefs.getBoolean("crash_reports", false) || Log.isTestRelease())
|
||||
Bugsnag.startSession();
|
||||
}
|
||||
} catch (Throwable ex) {
|
||||
Log.e(ex);
|
||||
/*
|
||||
|
||||
Reference in New Issue
Block a user