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

Commit b17765a3 authored by John Hoford's avatar John Hoford
Browse files

fix bug in saving preset

bug introduced in CL 361110

Change-Id: I8fd283859d0f0f6a4b9e06e95c533b68085c156a
parent b867739b
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -728,6 +728,7 @@ public class ImagePreset {
            }
            reader.close();
        } catch (Exception e) {
            Log.e(LOGTAG, "\""+filterString+"\"");
            Log.e(LOGTAG, "parsing the filter parameters:", e);
            return false;
        }
+1 −1
Original line number Diff line number Diff line
@@ -77,7 +77,7 @@ public class XmpPresets {
            xmpMeta.setProperty(XMP_GOOGLE_FILTER_NAMESPACE,
                    XMP_SRC_FILE_URI, srcUri.toString());
            xmpMeta.setProperty(XMP_GOOGLE_FILTER_NAMESPACE,
                    XMP_FILTERSTACK, ImagePreset.JASON_SAVED);
                    XMP_FILTERSTACK, preset.getJsonString(ImagePreset.JASON_SAVED));
        } catch (XMPException e) {
            Log.v(LOGTAG, "Write XMP meta to file failed:" + dstFile.getAbsolutePath());
            return;