Increase db number and added getters and setter for new 'uploading' and 'downloading...
[pub/Android/ownCloud.git] / src / com / owncloud / android / files / services / FileUploader.java
index 0480440..d26fad5 100644 (file)
@@ -635,6 +635,8 @@ public class FileUploader extends Service implements OnDatatransferProgressListe
               // in the instance returned by mCurrentUpload.getFile()
         }
         file.setNeedsUpdateThumbnail(true);
+        file.setDownloading(false);
+        file.setUploading(false);
         mStorageManager.saveFile(file);
     }