Commit 170744a2 authored by vince-bourgmayer's avatar vince-bourgmayer
Browse files

cherry pick 8c9d0f28

parent 998e31e0
......@@ -65,7 +65,10 @@ public class ListFileRemoteOperation extends RemoteOperation {
SyncedFolder syncedFolder = mSyncedFolderIterator.next();
//If folder isn't to be scan remotly, ignore it
if(!syncedFolder.isScanRemote()) continue;
if(!syncedFolder.isScanRemote()){
mSyncedFolderIterator.remove();
continue;
}
if(syncedFolder.getId() == -1) {
//persist new syncedFolder
......@@ -75,6 +78,7 @@ public class ListFileRemoteOperation extends RemoteOperation {
}else {
mSyncedFolderIterator.remove();
Log.w(TAG, "syncedFolder "+syncedFolder.getRemoteFolder()+" doesn't have a valid ID");
continue;
}
}
......@@ -143,7 +147,7 @@ public class ListFileRemoteOperation extends RemoteOperation {
}
Log.w(TAG, "LightReadFolderRemoteOperation failed : http " + result.getHttpCode() + ", " + result.getLogMessage()+" => Ignored");
}
} //End of loop
finalResult = new RemoteOperationResult(RemoteOperationResult.ResultCode.OK);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment