Store file on db with 'downloading' state after adding it to pending downloads
[pub/Android/ownCloud.git] / src / com / owncloud / android / files / services / FileUploader.java
index d26fad5..0480440 100644 (file)
@@ -635,8 +635,6 @@ 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);
     }