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

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

cherry pick 8c9d0f28

parent 998e31e0
Loading
Loading
Loading
Loading
+6 −2
Original line number Diff line number Diff line
@@ -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;
                }
            }