mirror of
https://github.com/nextcloud/android.git
synced 2024-11-27 09:39:25 +03:00
Merge pull request #736 from owncloud/fix_refresh_account_lollipop
Fix 'refresh account' action in Lollipop
This commit is contained in:
commit
3aed2954f3
1 changed files with 5 additions and 0 deletions
|
@ -563,6 +563,11 @@ OnSslUntrustedCertListener, OnEnforceableRefreshListener {
|
|||
builder.setExpedited(true);
|
||||
builder.setManual(true);
|
||||
builder.syncOnce();
|
||||
|
||||
// Fix bug in Android Lollipop when you click on refresh the whole account
|
||||
Bundle extras = new Bundle();
|
||||
builder.setExtras(extras);
|
||||
|
||||
SyncRequest request = builder.build();
|
||||
ContentResolver.requestSync(request);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue