Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
e
os
eDrive
Commits
53c76f49
Commit
53c76f49
authored
Aug 19, 2019
by
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
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
app/src/main/java/foundation/e/drive/services/ObserverService.java
View file @
53c76f49
...
...
@@ -524,6 +524,11 @@ public class ObserverService extends Service implements OnRemoteOperationListene
SyncedFolder
syncedFolder
=
iterator
.
next
();
Log
.
v
(
TAG
,
"SyncedFolder :"
+
syncedFolder
.
getLibelle
()+
", "
+
syncedFolder
.
getLocalFolder
()+
", "
+
syncedFolder
.
getLastModified
()+
", "
+
syncedFolder
.
isScanLocal
()+
", "
+
syncedFolder
.
getId
()
);
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
)
{
...
...
Vincent Bourgmayer
🎼
@vincent
mentioned in commit
8cf12f0c
·
Aug 20, 2019
mentioned in commit
8cf12f0c
mentioned in commit 8cf12f0c0ee07afa55a29ef54787ecc7f1d4efa2
Toggle commit list
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment