store temporarily editor files at the cacheDir, not filesDir
This commit is contained in:
parent
02bc49a259
commit
37d8f4babf
|
@ -247,7 +247,7 @@ class NewEditActivity : SimpleActivity() {
|
||||||
|
|
||||||
settingsList.getSettingsModel(EditorSaveSettings::class.java)
|
settingsList.getSettingsModel(EditorSaveSettings::class.java)
|
||||||
.setExportFormat(EditorSaveSettings.FORMAT.AUTO)
|
.setExportFormat(EditorSaveSettings.FORMAT.AUTO)
|
||||||
.setOutputFilePath("$filesDir/editor/$filename")
|
.setOutputFilePath("$cacheDir/editor/$filename")
|
||||||
.savePolicy = EditorSaveSettings.SavePolicy.RETURN_SOURCE_OR_CREATE_OUTPUT_IF_NECESSARY
|
.savePolicy = EditorSaveSettings.SavePolicy.RETURN_SOURCE_OR_CREATE_OUTPUT_IF_NECESSARY
|
||||||
|
|
||||||
return settingsList
|
return settingsList
|
||||||
|
|
Loading…
Reference in New Issue