projects
/
pub
/
Android
/
ownCloud.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Studying lack of upload when a file that was not previously down is set as favourite...
[pub/Android/ownCloud.git]
/
src
/
com
/
owncloud
/
android
/
files
/
OwnCloudFileObserver.java
diff --git
a/src/com/owncloud/android/files/OwnCloudFileObserver.java
b/src/com/owncloud/android/files/OwnCloudFileObserver.java
index
8572124
..
0093e7c
100644
(file)
--- a/
src/com/owncloud/android/files/OwnCloudFileObserver.java
+++ b/
src/com/owncloud/android/files/OwnCloudFileObserver.java
@@
-18,6
+18,7
@@
package com.owncloud.android.files;
package com.owncloud.android.files;
+import java.io.File;
import java.util.LinkedList;
import java.util.List;
import java.util.LinkedList;
import java.util.List;
@@
-91,9
+92,9
@@
public class OwnCloudFileObserver extends FileObserver {
@Override
public void onEvent(int event, String path) {
@Override
public void onEvent(int event, String path) {
- Log.d(TAG, "Got file modified with event " + event + " and path " +
path
);
+ Log.d(TAG, "Got file modified with event " + event + " and path " +
mPath + ((path != null) ? File.separator + path : "")
);
if ((event & mMask) == 0) {
if ((event & mMask) == 0) {
- Log.wtf(TAG, "Incorrect event " + event + " sent for file " +
path
+
+ Log.wtf(TAG, "Incorrect event " + event + " sent for file " +
mPath + ((path != null) ? File.separator + path : "")
+
" with registered for " + mMask + " and original path " +
mPath);
for (FileObserverStatusListener l : mListeners)
" with registered for " + mMask + " and original path " +
mPath);
for (FileObserverStatusListener l : mListeners)