1
0
Fork 0
mirror of https://github.com/syncthing/syncthing-android.git synced 2024-11-30 08:11:17 +00:00

Added extra logging for observer.

This commit is contained in:
Felix Ableitner 2015-10-15 21:58:09 +02:00
parent 8929d86401
commit 76f90f184c

View file

@ -95,6 +95,8 @@ public class FolderObserver extends FileObserver {
? new File(mPath, path) ? new File(mPath, path)
: new File(mPath); : new File(mPath);
Log.v(TAG, "Received inotify event " + Integer.toHexString(event) + " at " +
fullPath.getAbsolutePath());
switch (event) { switch (event) {
case MOVED_FROM: case MOVED_FROM:
// fall through // fall through