diff --git a/app/src/main/java/org/lineageos/recorder/RecorderActivity.kt b/app/src/main/java/org/lineageos/recorder/RecorderActivity.kt index 2091af89..a642448f 100644 --- a/app/src/main/java/org/lineageos/recorder/RecorderActivity.kt +++ b/app/src/main/java/org/lineageos/recorder/RecorderActivity.kt @@ -331,6 +331,7 @@ class RecorderActivity : AppCompatActivity(R.layout.activity_main) { private fun confirmLastResult() { val resultIntent = Intent().setData(preferencesManager.lastItemUri) + .setFlags(Intent.FLAG_GRANT_READ_URI_PERMISSION) setResult(RESULT_OK, resultIntent) finish() }