This commit is contained in:
tobiasKaminsky 2015-11-18 17:01:33 +01:00 committed by jabarros
parent f1cba47d40
commit f7b73bff89

View file

@ -639,9 +639,9 @@ public class OCFileListFragment extends ExtendedListFragment {
}
case R.id.action_copy:
Intent action = new Intent(getActivity(), FolderPickerActivity.class);
// Pass mTargetFile that contains info of selected file/folder
action.putExtra(FolderPickerActivity.EXTRA_FILE, mTargetFile);
ArrayList files = new ArrayList();
files.add(mTargetFile);
action.putExtra(FolderPickerActivity.EXTRA_FILES, files);
getActivity().startActivityForResult(action, FileDisplayActivity.REQUEST_CODE__COPY_FILES);
return true;
default: