mirror of https://github.com/M66B/FairEmail.git
Check package name for Bugsnag
This commit is contained in:
parent
5da41b3e53
commit
56049382a0
|
@ -215,6 +215,9 @@ 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)
|
||||||
|
|
Loading…
Reference in New Issue