Skip saving original when processing gallery images

Gallery imports already have the original on-device, so only save
the tilt-shift processed version. Camera captures continue saving
both versions since the original only exists in memory.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Ole-Morten Duesund 2026-03-05 12:40:06 +01:00
commit dedf445cf6

View file

@ -225,9 +225,8 @@ class ImageCaptureHandler(
val thumbnail = createThumbnail(processedBitmap) val thumbnail = createThumbnail(processedBitmap)
val result = photoSaver.saveBitmapPair( val result = photoSaver.saveBitmap(
original = originalBitmap, bitmap = processedBitmap,
processed = processedBitmap,
orientation = ExifInterface.ORIENTATION_NORMAL, orientation = ExifInterface.ORIENTATION_NORMAL,
location = location location = location
) )