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

add forgotten test in ListRemoteFileOperation

parent 87c766bd
......@@ -63,6 +63,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()){
......
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