1
0
Fork 0
mirror of https://github.com/M66B/FairEmail.git synced 2024-12-27 10:17:18 +00:00

Filter OOM error

This commit is contained in:
M66B 2020-11-20 09:35:53 +01:00
parent b89901aace
commit f4544885fc

View file

@ -511,7 +511,8 @@ public class Log {
if (!isSupportedDevice())
return false;
if (ex instanceof OutOfMemoryError)
if (ex instanceof OutOfMemoryError ||
ex.getCause() instanceof OutOfMemoryError)
return false;
if (ex instanceof RemoteException)