Check package name for Bugsnag

This commit is contained in:
M66B 2019-10-27 16:58:58 +01:00
parent 5da41b3e53
commit 56049382a0
1 changed files with 3 additions and 0 deletions

View File

@ -215,6 +215,9 @@ 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)