Filter OOM error

This commit is contained in:
M66B 2020-11-20 09:35:53 +01:00
parent b89901aace
commit f4544885fc
1 changed files with 2 additions and 1 deletions

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)