From 37d8f4babf5ec995c9c07083fa258bf401827a3a Mon Sep 17 00:00:00 2001 From: tibbi Date: Sun, 9 Feb 2020 22:22:56 +0100 Subject: [PATCH] store temporarily editor files at the cacheDir, not filesDir --- .../simplemobiletools/gallery/pro/activities/NewEditActivity.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/kotlin/com/simplemobiletools/gallery/pro/activities/NewEditActivity.kt b/app/src/main/kotlin/com/simplemobiletools/gallery/pro/activities/NewEditActivity.kt index 62215b769..8509b0e14 100644 --- a/app/src/main/kotlin/com/simplemobiletools/gallery/pro/activities/NewEditActivity.kt +++ b/app/src/main/kotlin/com/simplemobiletools/gallery/pro/activities/NewEditActivity.kt @@ -247,7 +247,7 @@ class NewEditActivity : SimpleActivity() { settingsList.getSettingsModel(EditorSaveSettings::class.java) .setExportFormat(EditorSaveSettings.FORMAT.AUTO) - .setOutputFilePath("$filesDir/editor/$filename") + .setOutputFilePath("$cacheDir/editor/$filename") .savePolicy = EditorSaveSettings.SavePolicy.RETURN_SOURCE_OR_CREATE_OUTPUT_IF_NECESSARY return settingsList