Fixed bug. Thmumbnail is not correct when uploading a file in another folder
[pub/Android/ownCloud.git] / src / com / owncloud / android / files / services / FileUploader.java
index 5b7185a..4e68c8e 100644 (file)
@@ -630,7 +630,7 @@ public class FileUploader extends Service implements OnDatatransferProgressListe
               // coincidence; nothing else is needed, the storagePath is right
               // in the instance returned by mCurrentUpload.getFile()
         }
               // coincidence; nothing else is needed, the storagePath is right
               // in the instance returned by mCurrentUpload.getFile()
         }
-
+        file.setNeedsUpdateThumbnail(true);
         mStorageManager.saveFile(file);
     }
 
         mStorageManager.saveFile(file);
     }