X-Git-Url: http://git.linex4red.de/pub/Android/ownCloud.git/blobdiff_plain/65c7d5d5baf3455d02b4a7d9352fcd42d939c669..6c33cefba0cccd62af326d9656173edef26d6376:/src/com/owncloud/android/ui/fragment/FileDetailFragment.java diff --git a/src/com/owncloud/android/ui/fragment/FileDetailFragment.java b/src/com/owncloud/android/ui/fragment/FileDetailFragment.java index dc8c9f62..ddbaca37 100644 --- a/src/com/owncloud/android/ui/fragment/FileDetailFragment.java +++ b/src/com/owncloud/android/ui/fragment/FileDetailFragment.java @@ -854,7 +854,9 @@ public class FileDetailFragment extends FileFragment implements if (result.isSuccess()) { updateFileDetails(((RenameFileOperation)operation).getFile(), mAccount); + /* TODO WIP COMMENT mContainerActivity.onFileStateChanged(); + */ } else { if (result.getCode().equals(ResultCode.INVALID_LOCAL_FILE_NAME)) { @@ -896,8 +898,10 @@ public class FileDetailFragment extends FileFragment implements } else { if (operation.transferWasRequested()) { setButtonsForTransferring(); + /* TODO WIP COMMENT mContainerActivity.onFileStateChanged(); // this is not working; FileDownloader won't do NOTHING at all until this method finishes, so // checking the service to see if the file is downloading results in FALSE + */ } else { Toast msg = Toast.makeText(getActivity(), R.string.sync_file_nothing_to_do_msg, Toast.LENGTH_LONG); msg.show();