flyweb / flyweb-android

Android app for flyweb
2 stars 0 forks source link

Thumbnail doesn't update when overwriting an image in Downloads #11

Closed irenewchen closed 7 years ago

irenewchen commented 7 years ago

Steps to reproduce:

  1. Start the embedded server from the Flyweb app.
  2. Send a POST request to save an image to Downloads (let's call this image image1).
  3. Send another POST request to save a different image with the same file name to Downloads (we will call this image image2). When the app asks whether you want to overwrite the existing image, say yes.
  4. Open the Downloads app from your phone. The thumbnail for the image is that of image1's. This is a bug, as we have supposedly overwritten the image. Now open the image file. It will be image2, which is what we want. If you also try viewing the image from the Gallery app or from the File Manager app, you will see that the image will be image2. Only the THUMBNAIL in the Downloads app is not updated.
irenewchen commented 7 years ago

The bug is in the Android SDK.