From abe7b45f59c06c6381755799e07fb10efe99fe38 Mon Sep 17 00:00:00 2001 From: M66B Date: Wed, 8 Aug 2018 08:23:00 +0000 Subject: [PATCH] Append crash reports --- app/src/main/java/eu/faircode/email/ApplicationEx.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/src/main/java/eu/faircode/email/ApplicationEx.java b/app/src/main/java/eu/faircode/email/ApplicationEx.java index 539c90f4..e29f0980 100644 --- a/app/src/main/java/eu/faircode/email/ApplicationEx.java +++ b/app/src/main/java/eu/faircode/email/ApplicationEx.java @@ -60,6 +60,8 @@ public class ApplicationEx extends Application { draft.ui_hide = false; draft.id = db.message().insertMessage(draft); + EntityOperation.queue(ApplicationEx.this, draft, EntityOperation.ADD); + Log.w(Helper.TAG, "Crash info stored as draft"); } } catch (Throwable e1) {