mirror of
https://code.briarproject.org/briar/briar.git
synced 2026-02-20 06:39:54 +01:00
Merge branch 'pending-contacts-crash' into 'master'
Don't call setValue() on a background thread See merge request briar/briar!1123
This commit is contained in:
@@ -82,7 +82,7 @@ public class PendingContactListViewModel extends AndroidViewModel
|
|||||||
items.add(new PendingContactItem(p.getFirst(),
|
items.add(new PendingContactItem(p.getFirst(),
|
||||||
p.getSecond()));
|
p.getSecond()));
|
||||||
}
|
}
|
||||||
pendingContacts.setValue(items);
|
pendingContacts.postValue(items);
|
||||||
} catch (DbException e) {
|
} catch (DbException e) {
|
||||||
logException(LOG, WARNING, e);
|
logException(LOG, WARNING, e);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user