Commit 53c76f49 authored by vince-bourgmayer's avatar vince-bourgmayer
Browse files

add filter on already store folder to prevent sync of hidden media folder (from local)

parent 8c9d0f28
Pipeline #20875 passed with stage
in 2 minutes and 38 seconds
......@@ -524,6 +524,11 @@ public class ObserverService extends Service implements OnRemoteOperationListene
SyncedFolder syncedFolder =;
Log.v(TAG, "SyncedFolder :"+syncedFolder.getLibelle()+", "+syncedFolder.getLocalFolder()+", "+syncedFolder.getLastModified()+", "+syncedFolder.isScanLocal()+", "+syncedFolder.getId() );
if(syncedFolder.isMediaType() && CommonUtils.getFileNameFromPath(syncedFolder.getLocalFolder()).startsWith(".")){
if(syncedFolder.isScanLocal() ) {
Log.v(TAG, "We must sync local modification of this folder");
if ( syncedFolder.getId() == -1) {
Supports Markdown
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