mirror of
https://github.com/M66B/FairEmail.git
synced 2026-01-04 03:43:55 +01:00
Suppress "Unable to create layer"
This commit is contained in:
@@ -372,7 +372,9 @@ public class ApplicationEx extends Application {
|
|||||||
if (ex instanceof NoSuchMethodError)
|
if (ex instanceof NoSuchMethodError)
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
if (ex.getMessage() != null && ex.getMessage().startsWith("Bad notification posted"))
|
if (ex.getMessage() != null &&
|
||||||
|
(ex.getMessage().startsWith("Bad notification posted") ||
|
||||||
|
ex.getMessage().startsWith("Unable to create layer")))
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
if (ex instanceof TimeoutException &&
|
if (ex instanceof TimeoutException &&
|
||||||
|
|||||||
Reference in New Issue
Block a user