h1toru / ANXCameraT

ANXCamera Magisk module for Android 12-14
45 stars 2 forks source link

Photo files taken using ANXCamera cannot be read correctly by the Gallery #20

Open x1angn1an opened 3 months ago

x1angn1an commented 3 months ago

In the details of the Gallery app, the path to the photo files taken using ANXCamera is displayed as "/storage/emulated/0/Pictures/xxx.jpg", but the actual storage path of these photo files should be "/storage/emulated/0/DCIM/Camera/xxx.jpg". Only when I reboot Android, these photo files can be read correctly by the gallery, and this problem only occurs on ANXCamera, everything is fine with the default Camera.

Device: MI8 ROM: LOS20 / PE13Plus / PixelOS14... root: Magiskv27.0

Screenshot_20240308-093524_Trebuchet Screenshot_20240308-093520_Trebuchet

h1toru commented 3 months ago

Have you tried using different Gallery app?

x1angn1an commented 3 months ago

Have you tried using different Gallery app?

Yes, I also tried Google Photos and MIUI Gallery but the problem persists (MIUI Gallery always doesn't show any photo items taken by ANXCamera). And I found that when I browse the Image category in the Files app (maybe this action will refresh the media library), the Gallery app will be able to correctly read photo files taken by ANXCamera, but the wrong photo items will still remain in the Gallery until Android reboot.

Additionally, when I take a photo using ANX Camera, the finished photo is displayed in the lower left corner, but when I click on it, it cannot be browsed and disappears immediately. I think this should be the same bug.