From 12dbb0b47156bb9346b85fad1f59f4f9d1d1fd1a Mon Sep 17 00:00:00 2001 From: M66B Date: Thu, 9 Jul 2020 08:19:34 +0200 Subject: [PATCH] Filter rare crash --- app/src/main/java/eu/faircode/email/Log.java | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/app/src/main/java/eu/faircode/email/Log.java b/app/src/main/java/eu/faircode/email/Log.java index aab351800e..1559e443a1 100644 --- a/app/src/main/java/eu/faircode/email/Log.java +++ b/app/src/main/java/eu/faircode/email/Log.java @@ -649,6 +649,18 @@ public class Log { */ return false; + if (ex instanceof IllegalArgumentException && + "page introduces incorrect tiling".equals(ex.getMessage())) + /* + java.lang.IllegalArgumentException: page introduces incorrect tiling + at androidx.paging.PagedStorage.insertPage(SourceFile:545) + at androidx.paging.PagedStorage.tryInsertPageAndTrim(SourceFile:504) + at androidx.paging.TiledPagedList$1.onPageResult(SourceFile:60) + at androidx.paging.DataSource$LoadCallbackHelper$1.run(SourceFile:324) + at android.os.Handler.handleCallback(Handler.java:789) + */ + return false; + if (ex instanceof IllegalMonitorStateException) /* java.lang.IllegalMonitorStateException