mirror of
https://github.com/M66B/FairEmail.git
synced 2025-01-03 13:44:40 +00:00
Prevent cleanup of debug info attachments
This commit is contained in:
parent
ce0e2ba5f8
commit
da530944d4
1 changed files with 10 additions and 9 deletions
|
@ -196,19 +196,20 @@ public class Log {
|
|||
HtmlHelper.getPreview(body),
|
||||
null);
|
||||
|
||||
attachSettings(context, draft.id, 1);
|
||||
attachAccounts(context, draft.id, 2);
|
||||
attachNetworkInfo(context, draft.id, 3);
|
||||
attachLog(context, draft.id, 4);
|
||||
attachOperations(context, draft.id, 5);
|
||||
attachLogcat(context, draft.id, 6);
|
||||
|
||||
EntityOperation.queue(context, draft, EntityOperation.ADD);
|
||||
|
||||
db.setTransactionSuccessful();
|
||||
} finally {
|
||||
db.endTransaction();
|
||||
}
|
||||
|
||||
attachSettings(context, draft.id, 1);
|
||||
attachAccounts(context, draft.id, 2);
|
||||
attachNetworkInfo(context, draft.id, 3);
|
||||
attachLog(context, draft.id, 4);
|
||||
attachOperations(context, draft.id, 5);
|
||||
attachLogcat(context, draft.id, 6);
|
||||
|
||||
EntityOperation.queue(context, draft, EntityOperation.ADD);
|
||||
|
||||
return draft;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue