From 5ae2a37d37bfde3fa8f4b0452f7269bf61fb9fe0 Mon Sep 17 00:00:00 2001 From: Torsten Grote Date: Mon, 11 Jan 2021 09:51:47 -0300 Subject: [PATCH] Create group invitation with read-write transaction because the AutoDeleteManager needs to change the DB and otherwise crashes. Closes #1863 --- .../privategroup/creation/CreateGroupControllerImpl.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/briar-android/src/main/java/org/briarproject/briar/android/privategroup/creation/CreateGroupControllerImpl.java b/briar-android/src/main/java/org/briarproject/briar/android/privategroup/creation/CreateGroupControllerImpl.java index 4f10d8fff..4bae607e8 100644 --- a/briar-android/src/main/java/org/briarproject/briar/android/privategroup/creation/CreateGroupControllerImpl.java +++ b/briar-android/src/main/java/org/briarproject/briar/android/privategroup/creation/CreateGroupControllerImpl.java @@ -150,7 +150,7 @@ class CreateGroupControllerImpl extends ContactSelectorControllerImpl ResultExceptionHandler handler) { runOnDbThread(() -> { try { - db.transaction(true, txn -> { + db.transaction(false, txn -> { LocalAuthor localAuthor = identityManager.getLocalAuthor(txn); List contexts =