mirror of
https://github.com/M66B/FairEmail.git
synced 2026-01-03 19:34:15 +01:00
Skip reporting OOM
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user