feat(exif): name the capture device and place (0x9a00/0x0110/0x889d) for the Gallery frame

The framing tool matches Make/Model against its known-device list and prints
the place name; a CameraX capture only carried the raw model codename
(2203121C) and no 0x9a00/0x889d, which is what a stock camera photo always
has. State the market name plus the geotag locality, and leave a source that
already carries 0x9a00 untouched so a library photo of another device is
never relabelled.
This commit is contained in:
2026-09-11 19:47:51 +07:00
parent 17ee01b62a
commit ea9ff01a22
2 changed files with 27 additions and 1 deletions
+1
View File
@@ -721,6 +721,7 @@ export async function processAndExportPhoto(
width: resultImage.width(),
height: resultImage.height(),
dpi: options?.dpi ?? null,
locationName: useGeotag && gpsInfo ? gpsInfo.locality : null,
device: getDeviceIdentity(),
},
await readPhotoBytes(sourceUri)