X-Git-Url: http://git.linex4red.de/pub/Android/ownCloud.git/blobdiff_plain/ba148a82782bba94b95b8acd2ecb19af797fa84a..de94751cde3af2e78212f043d3d0c2aed90f69a8:/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 b01b8fa3..42e4763f 100644 --- a/src/com/owncloud/android/files/OwnCloudFileObserver.java +++ b/src/com/owncloud/android/files/OwnCloudFileObserver.java @@ -52,9 +52,14 @@ public class OwnCloudFileObserver extends FileObserver { return mPath; } + public String getRemotePath() { + return mFile.getRemotePath(); + } + @Override public void onEvent(int event, String path) { - if ((event | mMask) == 0) { + Log.d(TAG, "Got file modified with event " + event + " and path " + path); + if ((event & mMask) == 0) { Log.wtf(TAG, "Incorrect event " + event + " sent for file " + path + " with registered for " + mMask + " and original path " + mPath);