mirror of
https://github.com/M66B/FairEmail.git
synced 2026-04-01 14:46:31 +02:00
Disable Bugsnag through VPNs (ad blockers)
This commit is contained in:
@@ -377,7 +377,9 @@ public class Log {
|
||||
@Override
|
||||
public boolean onSession(@NonNull Session session) {
|
||||
// opt-in
|
||||
return prefs.getBoolean("crash_reports", false);
|
||||
boolean crash_reports = prefs.getBoolean("crash_reports", false);
|
||||
boolean vpn = ConnectionHelper.vpnActive(context);
|
||||
return (crash_reports && !vpn);
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user