X-Git-Url: http://git.linex4red.de/pub/Android/ownCloud.git/blobdiff_plain/aef73a5263c94e34a38bc45ce1506651d80c7f78..b12ca42b45b69cee9e15de0abe5758f3d75f527e:/src/com/owncloud/android/files/services/FileObserverService.java diff --git a/src/com/owncloud/android/files/services/FileObserverService.java b/src/com/owncloud/android/files/services/FileObserverService.java index 41e4e52b..44713d11 100644 --- a/src/com/owncloud/android/files/services/FileObserverService.java +++ b/src/com/owncloud/android/files/services/FileObserverService.java @@ -168,7 +168,7 @@ public class FileObserverService extends Service implements FileObserverStatusLi FileDataStorageManager storage = new FileDataStorageManager(account, getContentResolver()); observer.setStorageManager(storage); - observer.setOCFile(storage.getFileByLocalPath(path)); + observer.setOCFile(storage.getFileByLocalPath(path)); // ISSUE 10 - the fix in FileDetailsFragment to avoid path == null was not enough; it the file was never down before, this sets a NULL OCFile in the observer observer.addObserverStatusListener(this); DownloadCompletedReceiver receiver = new DownloadCompletedReceiver(path, observer);