always do contact sync in background
This commit is contained in:
parent
24e5d84e4e
commit
9d72ef6f32
2 changed files with 2 additions and 2 deletions
|
@ -307,7 +307,7 @@ public class XmppConnectionService extends Service {
|
|||
}
|
||||
account.getRoster().clearPresences();
|
||||
mJingleConnectionManager.cancelInTransmission();
|
||||
mQuickConversationsService.considerSync();
|
||||
mQuickConversationsService.considerSyncBackground(false);
|
||||
fetchRosterFromServer(account);
|
||||
if (!account.getXmppConnection().getFeatures().bookmarksConversion()) {
|
||||
fetchBookmarks(account);
|
||||
|
|
|
@ -735,7 +735,7 @@ public class StartConversationActivity extends XmppActivity implements XmppConne
|
|||
|
||||
@Override
|
||||
protected void onBackendConnected() {
|
||||
xmppConnectionService.getQuickConversationsService().considerSync();
|
||||
xmppConnectionService.getQuickConversationsService().considerSyncBackground(false);
|
||||
if (mPostponedActivityResult != null) {
|
||||
onActivityResult(mPostponedActivityResult.first, RESULT_OK, mPostponedActivityResult.second);
|
||||
this.mPostponedActivityResult = null;
|
||||
|
|
Reference in a new issue