Filter exception

pull/178/head
M66B 5 years ago
parent c9f2d7f5e6
commit b2e8e16b89

@ -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;

Loading…
Cancel
Save