1
0
Fork 0
mirror of https://github.com/M66B/FairEmail.git synced 2024-12-27 18:27:43 +00:00

Send package name to Bugsnag

This commit is contained in:
M66B 2019-10-28 09:21:12 +01:00
parent c3d7f2fac7
commit 5913739ba8

View file

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