mirror of
https://github.com/M66B/FairEmail.git
synced 2025-01-01 12:44:42 +00:00
Skip reporting OOM
This commit is contained in:
parent
85bceae8d7
commit
36a6c5a7a4
1 changed files with 3 additions and 0 deletions
|
@ -1192,6 +1192,9 @@ public class Log {
|
|||
static void unexpectedError(FragmentManager manager, Throwable ex, boolean report) {
|
||||
Log.e(ex);
|
||||
|
||||
if (ex instanceof OutOfMemoryError)
|
||||
report = false;
|
||||
|
||||
Bundle args = new Bundle();
|
||||
args.putSerializable("ex", ex);
|
||||
args.putBoolean("report", report);
|
||||
|
|
Loading…
Reference in a new issue