Small improvement

This commit is contained in:
M66B 2019-07-21 20:09:55 +02:00
parent c805749114
commit ba19d816c5
1 changed files with 9 additions and 9 deletions

View File

@ -196,20 +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;
}