Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 52c534a3 authored by Mark Harman's avatar Mark Harman
Browse files

Save base expo images with suffix _0 etc instead of _EXP0 etc, so that Google...

Save base expo images with suffix _0 etc instead of _EXP0 etc, so that Google Photos will group them.
parent d39cc767
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -49,6 +49,9 @@ ADDED Application shortcuts (requires Android 7.1).
ADDED   Face detection now supports accessibility services (e.g., if using Google Talkback,
        information on the number and position of detected faces will be spoken).
ADDED   Link to GPL on About dialog.
UPDATED Expo images (either in "Expo {}" photo mode, or HDR when "Save all images for HDR mode" is
        selected) are now saved with suffix "_0" etc, instead of "_EXP0" etc. This means Google
        Photos knows to group the images together.
UPDATED Performance improvements.
UPDATED "Show angle" no longer enabled by default.

+3 −1
Original line number Diff line number Diff line
@@ -773,7 +773,9 @@ public class ImageSaver extends Thread {
        	long time_s = System.currentTimeMillis();
			if( request.jpeg_images.size() > 1 ) {
				// if there's only 1 image, we're in DRO mode, and shouldn't save the base image
				saveBaseImages(request, "_EXP");
				// note that in earlier Open Camera versions, we used _EXP as the suffix. We now use just "_" from 1.42 onwards, so Google
				// Photos will group them together. (Unfortunately using "_EXP_" doesn't work, the images aren't grouped!)
				saveBaseImages(request, "_");
				if( MyDebug.LOG ) {
					Log.d(TAG, "HDR performance: time after saving base exposures: " + (System.currentTimeMillis() - time_s));
				}