1
0
Fork 1

Revert "Possible fix up crash on Samsung devices"

This reverts commit 03edb1cb35.
This commit is contained in:
12aw 2024-03-30 20:27:24 +01:00
parent 03edb1cb35
commit 9f4d355f05
3 changed files with 4 additions and 4 deletions

View file

@ -2895,7 +2895,9 @@ public class XmppConnectionService extends Service {
private void markChangedFiles(List<DatabaseBackend.FilePathInfo> infos) {
final boolean[] changed = {false};
for (Conversation conversation : getConversations()) {
changed[0] |= conversation.markAsChanged(infos);
new Thread(() -> {
changed[0] |= conversation.markAsChanged(infos);
}).start();
}
if (changed[0]) {
updateConversationUi();

View file

@ -1336,10 +1336,8 @@ public class ConversationsActivity extends XmppActivity implements OnConversatio
@Override
public void onRosterUpdate() {
runOnUiThread(() -> {
refreshForNewCaps = true;
refreshUi();
});
}
@Override

View file

@ -303,7 +303,7 @@ public class StartConversationActivity extends XmppActivity implements XmppConne
@Override
public void onRosterUpdate() {
runOnUiThread(this::refreshUi);
refreshUi();
}
@Override