storage-samples icon indicating copy to clipboard operation
storage-samples copied to clipboard

MediaStore doesn't really delete image file

Open Phil-666 opened this issue 5 years ago • 1 comments

I installed MediaStore V1.0 onto my Android running V10 I selected an image to delete from the images displayed within the app, clicked delete and the image appeared to be deleted. However, when I then opened the phone's default image viewer the image was still there. On opening the file explorer I could still see the file: /storage/sdcard0/DCIM/Camera/IMG_20210119_190148.jpg when viewing by folder, but the image was missing when viewing by image type. When I returned to the MediaStore app, the file was no longer visible. It therefore appears that some reference to the image file is deleted, and not the actual file.

Phil-666 avatar Jan 21 '21 17:01 Phil-666

I'm experiencing the same problem. I've found that several developers already reported the same bug, yet was discarded as infeasible, so, I've created a new bug in the Issue Tracker:

https://issuetracker.google.com/issues/184355104

I believe that the problem might be dependent for specific vendor Android implementations.

@Phil-666, in your case, in which phone model does it happen? I would recommend you add your device details to the issue ticket I've opened.

perracodex avatar Apr 03 '21 11:04 perracodex