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

Commit 8cf12f0c authored by vince-bourgmayer's avatar vince-bourgmayer
Browse files

cherry pick 53c76f49

parent 170744a2
Loading
Loading
Loading
Loading
Loading
+8 −1
Original line number Diff line number Diff line
@@ -513,9 +513,16 @@ public class ObserverService extends Service implements OnRemoteOperationListene
        while(iterator.hasNext() ){
            SyncedFolder syncedFolder = iterator.next();



            Log.v(TAG, "SyncedFolder :"+syncedFolder.getLibelle()+", "+syncedFolder.getLocalFolder()+", "+syncedFolder.getLastModified()+", "+syncedFolder.isScanLocal()+", "+syncedFolder.getId() );
            if(syncedFolder.isScanLocal() ) {

            if(syncedFolder.isMediaType() && CommonUtils.getFileNameFromPath(syncedFolder.getLocalFolder()).startsWith(".")){
                iterator.remove();
                continue;
            }

            if(syncedFolder.isScanLocal() ) {
                Log.v(TAG, "We must sync local modification of this folder");
                if ( syncedFolder.getId() == -1) {