+ } else if (operation instanceof SynchronizeFolderOperation) {
+
+ if (!result.isSuccess()) {
+ if (result.getCode() == ResultCode.FILE_NOT_FOUND) {
+ message = res.getString(R.string.download_folder_not_found);
+
+ } else { // Generic error
+ // Show a Message, operation finished without success
+ message = String.format(res.getString(R.string.downloader_download_folder_failed_content), new File(
+ ((SynchronizeFolderOperation) operation).getFolderPath()).getName());
+ }
+ }