Revert "Possible fix up crash on Samsung devices"
This reverts commit 03edb1cb35
.
This commit is contained in:
parent
03edb1cb35
commit
9f4d355f05
3 changed files with 4 additions and 4 deletions
|
@ -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();
|
||||
|
|
|
@ -1336,10 +1336,8 @@ public class ConversationsActivity extends XmppActivity implements OnConversatio
|
|||
|
||||
@Override
|
||||
public void onRosterUpdate() {
|
||||
runOnUiThread(() -> {
|
||||
refreshForNewCaps = true;
|
||||
refreshUi();
|
||||
});
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
|
@ -303,7 +303,7 @@ public class StartConversationActivity extends XmppActivity implements XmppConne
|
|||
|
||||
@Override
|
||||
public void onRosterUpdate() {
|
||||
runOnUiThread(this::refreshUi);
|
||||
refreshUi();
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
Loading…
Reference in a new issue