Merge pull request #10403 from nextcloud/fix/upload_on_low_storage_move

UploadFilesActivity: fix upload not working when space is insufficient for copy
This commit is contained in:
Tobias Kaminsky 2022-06-20 08:49:18 +02:00 committed by GitHub
commit c28a0779b5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -663,6 +663,7 @@ public class UploadFilesActivity extends DrawerActivity implements LocalFileList
// signaling that they should be moved to the ownCloud folder, instead of copied
Intent data = new Intent();
data.putExtra(EXTRA_CHOSEN_FILES, mFileListFragment.getCheckedFilePaths());
data.putExtra(LOCAL_BASE_PATH, mCurrentDir.getAbsolutePath());
setResult(RESULT_OK_AND_MOVE, data);
finish();
}