Commit 51dcb107 authored by vince-bourgmayer's avatar vince-bourgmayer
Browse files

add forgotten test in ListRemoteFileOperation

parent 87c766bd
Pipeline #22036 passed with stage
in 2 minutes and 32 seconds
......@@ -64,6 +64,13 @@ public class ListFileRemoteOperation extends RemoteOperation {
//Get CurrentSyncedFolder
SyncedFolder syncedFolder = mSyncedFolderIterator.next();
//if folder is media type() && is an hidden folder then ignore it
if(syncedFolder.isMediaType()
&& CommonUtils.getFileNameFromPath(syncedFolder.getRemoteFolder()).startsWith(".")){
mSyncedFolderIterator.remove();
continue;
}
//If folder isn't to be scan remotly, ignore it
if(!syncedFolder.isScanRemote()){
mSyncedFolderIterator.remove();
......
Markdown is supported
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