|
@@ -923,13 +923,7 @@ OCFileListFragment.ContainerActivity, FileDetailFragment.ContainerActivity, OnNa
|
|
RemoteOperationResult synchResult = (RemoteOperationResult)intent.getSerializableExtra(FileSyncService.SYNC_RESULT);
|
|
RemoteOperationResult synchResult = (RemoteOperationResult)intent.getSerializableExtra(FileSyncService.SYNC_RESULT);
|
|
|
|
|
|
if (getAccount() != null && accountName.equals(getAccount().name)
|
|
if (getAccount() != null && accountName.equals(getAccount().name)
|
|
- && mStorageManager != null
|
|
|
|
- ) {
|
|
|
|
-
|
|
|
|
- /// get the shared files
|
|
|
|
- if (isSharedSupported()) {
|
|
|
|
- startGetShares();
|
|
|
|
- }
|
|
|
|
|
|
+ && mStorageManager != null) {
|
|
|
|
|
|
String synchFolderRemotePath = intent.getStringExtra(FileSyncService.SYNC_FOLDER_REMOTE_PATH);
|
|
String synchFolderRemotePath = intent.getStringExtra(FileSyncService.SYNC_FOLDER_REMOTE_PATH);
|
|
|
|
|
|
@@ -961,6 +955,10 @@ OCFileListFragment.ContainerActivity, FileDetailFragment.ContainerActivity, OnNa
|
|
}
|
|
}
|
|
|
|
|
|
if (!mRefreshSharesInProgress) {
|
|
if (!mRefreshSharesInProgress) {
|
|
|
|
+ /// get the shared files
|
|
|
|
+ if (isSharedSupported()) {
|
|
|
|
+ startGetShares();
|
|
|
|
+ }
|
|
setSupportProgressBarIndeterminateVisibility(inProgress);
|
|
setSupportProgressBarIndeterminateVisibility(inProgress);
|
|
} else {
|
|
} else {
|
|
setSupportProgressBarIndeterminateVisibility(true);
|
|
setSupportProgressBarIndeterminateVisibility(true);
|