From af4390d57fec73f7eb50fb73a01ef2cc2604fa46 Mon Sep 17 00:00:00 2001 From: M66B Date: Tue, 19 Mar 2019 19:34:02 +0000 Subject: [PATCH] Prevent crash --- app/src/main/java/eu/faircode/email/ApplicationEx.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/src/main/java/eu/faircode/email/ApplicationEx.java b/app/src/main/java/eu/faircode/email/ApplicationEx.java index 2383ad6f78..1af396784f 100644 --- a/app/src/main/java/eu/faircode/email/ApplicationEx.java +++ b/app/src/main/java/eu/faircode/email/ApplicationEx.java @@ -80,7 +80,8 @@ public class ApplicationEx extends Application { }); createNotificationChannels(); - CookieManager.getInstance().setAcceptCookie(false); + if (Helper.hasWebView(this)) + CookieManager.getInstance().setAcceptCookie(false); MessageHelper.setSystemProperties(); Core.init(this); }