ImageSaver: Update GPS EXIF data if longitude is not set or zero
Description
ImageSaver: Update GPS EXIF data if longitude is not set or zero
Screenshots
Technical details
- Except in dark conditions (cover the camera with hands), FP5 stores the longitude in exif metadata as zero, leading to incorrect GPS location.
- This is despite, passing the proper location via https://gitlab.e.foundation/e/os/camera/-/blob/5992f11fa7029d9d15349a762f21206531384fe4/app/src/main/java/net/sourceforge/opencamera/cameracontroller/CameraController2.java#L479
- Since the bug happens in deeper proprietary layer, extend the existing mechanism used for devices with cameraextensions, to update the exif data when longitude is zero.
Tests
-
Longitude is set properly regardless.
Issues
10 commandments of code reviews
Edited by Rohit Sekhar