From 2130de152da12fe837d86fdc43059691f838a796 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=81lvaro=20Brey?= Date: Thu, 16 Jun 2022 16:26:06 +0200 Subject: [PATCH] UploadFilesActivity: fix upload not working when space is insufficient MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit LOCAL_BASE_PATH was missing Signed-off-by: Álvaro Brey --- .../com/owncloud/android/ui/activity/UploadFilesActivity.java | 1 + 1 file changed, 1 insertion(+) diff --git a/app/src/main/java/com/owncloud/android/ui/activity/UploadFilesActivity.java b/app/src/main/java/com/owncloud/android/ui/activity/UploadFilesActivity.java index e0ed413211..2f6eadb712 100644 --- a/app/src/main/java/com/owncloud/android/ui/activity/UploadFilesActivity.java +++ b/app/src/main/java/com/owncloud/android/ui/activity/UploadFilesActivity.java @@ -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(); }