Delete temp file on receive external files (#4349)

Delete temp file on receive external files
This commit is contained in:
Tobias Kaminsky authored and GitHub committed 2019-08-20 07:38:16 +02:00
commit c38dcf3436
1 file changed
+7 -7
@@ -949,13 +949,13 @@ public class ReceiveExternalFilesActivity extends FileActivity
public void uploadFiles() {
UriUploader uploader = new UriUploader(
this,
mStreamsToUpload,
mUploadPath,
getAccount(),
FileUploader.LOCAL_BEHAVIOUR_FORGET,
true, // Show waiting dialog while file is being copied from private storage
this // Copy temp task listener
this,
mStreamsToUpload,
mUploadPath,
getAccount(),
FileUploader.LOCAL_BEHAVIOUR_DELETE,
true, // Show waiting dialog while file is being copied from private storage
this // Copy temp task listener
);
UriUploader.UriUploaderResultCode resultCode = uploader.uploadUris();