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