UploadFilesActivity: fix upload not working when space is insufficient

LOCAL_BASE_PATH was missing

Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
This commit is contained in:
Álvaro Brey 2022-06-16 16:26:06 +02:00
parent 393f553e56
commit 2130de152d
No known key found for this signature in database
GPG key ID: 2585783189A62105

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();
}