Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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

add forgotten test in ListRemoteFileOperation

parent 87c766bd
Loading
Loading
Loading
Loading
Loading
+7 −0
Original line number Diff line number Diff line
@@ -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();