diff --git a/app/src/main/java/eu/faircode/email/Log.java b/app/src/main/java/eu/faircode/email/Log.java index ec21d58781..ad82b0bb55 100644 --- a/app/src/main/java/eu/faircode/email/Log.java +++ b/app/src/main/java/eu/faircode/email/Log.java @@ -105,6 +105,8 @@ import javax.mail.internet.InternetAddress; import javax.net.ssl.SSLHandshakeException; import javax.net.ssl.SSLPeerUnverifiedException; +import io.requery.android.database.CursorWindowAllocationException; + public class Log { private static boolean debug = false; private static final int MAX_CRASH_REPORTS = 5; @@ -708,6 +710,9 @@ public class Log { ex.getMessage().contains("finalize")) return false; + if (ex instanceof CursorWindowAllocationException) + return false; + if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.N) if (ex instanceof RuntimeException && ex.getCause() instanceof DeadObjectException) return false;