Created
May 21, 2020 23:17
-
-
Save mzorz/80541e6f095ba9785ce0ab0ce1baf4df to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/photoeditor/src/main/java/com/automattic/photoeditor/PhotoEditor.kt b/photoeditor/src/main/java/com/automattic/photoeditor/PhotoEditor.kt | |
index f367aeb..1d79ef1 100644 | |
--- a/photoeditor/src/main/java/com/automattic/photoeditor/PhotoEditor.kt | |
+++ b/photoeditor/src/main/java/com/automattic/photoeditor/PhotoEditor.kt | |
@@ -687,6 +687,7 @@ class PhotoEditor private constructor(builder: Builder) : | |
fun saveImageFromPhotoEditorViewAsLoopFrameFile(sequenceId: Int, photoEditorView: PhotoEditorView): File { | |
val localFile = FileUtils.getLoopFrameFile(context, false, sequenceId.toString()) | |
localFile.createNewFile() | |
+ throw Exception("THIS IS A TEST") | |
val saveSettings = SaveSettings.Builder() | |
.setClearViewsEnabled(true) | |
.setTransparencyEnabled(false) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/photoeditor/src/main/java/com/automattic/photoeditor/PhotoEditor.kt b/photoeditor/src/main/java/com/automattic/photoeditor/PhotoEditor.kt | |
index f367aeb..1d79ef1 100644 | |
--- a/photoeditor/src/main/java/com/automattic/photoeditor/PhotoEditor.kt | |
+++ b/photoeditor/src/main/java/com/automattic/photoeditor/PhotoEditor.kt | |
@@ -687,6 +687,7 @@ class PhotoEditor private constructor(builder: Builder) : | |
fun saveImageFromPhotoEditorViewAsLoopFrameFile(sequenceId: Int, photoEditorView: PhotoEditorView): File { | |
val localFile = FileUtils.getLoopFrameFile(context, false, sequenceId.toString()) | |
localFile.createNewFile() | |
+ throw Exception("THIS IS A TEST") | |
val saveSettings = SaveSettings.Builder() | |
.setClearViewsEnabled(true) | |
.setTransparencyEnabled(false) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment