setFile(file);
setNavigationListWithFolder(file);
- /// get the shared files
- if (isSharedSupported()) {
- startGetSharedFiles();
- }
-
if (!stateWasRecovered) {
Log_OC.e(TAG, "Initializing Fragments in onAccountChanged..");
initFragmentsWithFile();
&& mStorageManager != null
) {
+ /// get the shared files
+ if (isSharedSupported()) {
+ startGetSharedFiles();
+ }
+
String synchFolderRemotePath = intent.getStringExtra(FileSyncService.SYNC_FOLDER_REMOTE_PATH);
OCFile currentFile = (getFile() == null) ? null : mStorageManager.getFileByPath(getFile().getRemotePath());
// TODO
// Refresh the filelist with the information
refeshListOfFilesFragment();
+// OCFileListFragment fileListFragment = getListOfFilesFragment();
+// if (fileListFragment != null) {
+// fileListFragment.listDirectory(getCurrentDir());
+// }
}
String urlServer = accountMngr.getUserData(getAccount(), OwnCloudAccount.Constants.KEY_OC_BASE_URL);
RemoteOperation getSharedFiles = new GetSharedFilesOperation(urlServer, mStorageManager);
- getSharedFiles.execute(getAccount(), this, null, null, this);
+ getSharedFiles.execute(getAccount(), this, this, mHandler, this);
}