From 860d801ede6a1d90c221ae7df4393eb0028e1f5d Mon Sep 17 00:00:00 2001 From: tibbi Date: Sat, 12 May 2018 21:51:22 +0200 Subject: [PATCH] fix #769, set the result uri at crop intents just to be sure --- .../com/simplemobiletools/gallery/activities/EditActivity.kt | 1 + 1 file changed, 1 insertion(+) diff --git a/app/src/main/kotlin/com/simplemobiletools/gallery/activities/EditActivity.kt b/app/src/main/kotlin/com/simplemobiletools/gallery/activities/EditActivity.kt index e54ba3251..98d7909d5 100644 --- a/app/src/main/kotlin/com/simplemobiletools/gallery/activities/EditActivity.kt +++ b/app/src/main/kotlin/com/simplemobiletools/gallery/activities/EditActivity.kt @@ -176,6 +176,7 @@ class EditActivity : SimpleActivity(), CropImageView.OnCropImageCompleteListener } Intent().apply { + data = saveUri addFlags(Intent.FLAG_GRANT_READ_URI_PERMISSION) setResult(RESULT_OK, this) }