|
|
@ -215,9 +215,6 @@ public class Log {
|
|
|
|
config.beforeSend(new BeforeSend() {
|
|
|
|
config.beforeSend(new BeforeSend() {
|
|
|
|
@Override
|
|
|
|
@Override
|
|
|
|
public boolean run(@NonNull Report report) {
|
|
|
|
public boolean run(@NonNull Report report) {
|
|
|
|
if (!"eu.faircode.email".equals(BuildConfig.APPLICATION_ID))
|
|
|
|
|
|
|
|
return false;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// opt-in
|
|
|
|
// opt-in
|
|
|
|
boolean crash_reports = prefs.getBoolean("crash_reports", false);
|
|
|
|
boolean crash_reports = prefs.getBoolean("crash_reports", false);
|
|
|
|
if (!crash_reports)
|
|
|
|
if (!crash_reports)
|
|
|
@ -302,6 +299,7 @@ public class Log {
|
|
|
|
|
|
|
|
|
|
|
|
String theme = prefs.getString("theme", "light");
|
|
|
|
String theme = prefs.getString("theme", "light");
|
|
|
|
error.addToTab("extra", "theme", theme);
|
|
|
|
error.addToTab("extra", "theme", theme);
|
|
|
|
|
|
|
|
error.addToTab("extra", "package", BuildConfig.APPLICATION_ID);
|
|
|
|
return true;
|
|
|
|
return true;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
});
|
|
|
|
});
|
|
|
|