You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by ia...@apache.org on 2014/06/11 22:38:43 UTC
[2/2] git commit: CB-6781: Continue previous commit with one new
instance (This closes #30)
CB-6781: Continue previous commit with one new instance (This closes #30)
Project: http://git-wip-us.apache.org/repos/asf/cordova-plugin-file-transfer/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-plugin-file-transfer/commit/32106e7a
Tree: http://git-wip-us.apache.org/repos/asf/cordova-plugin-file-transfer/tree/32106e7a
Diff: http://git-wip-us.apache.org/repos/asf/cordova-plugin-file-transfer/diff/32106e7a
Branch: refs/heads/master
Commit: 32106e7a3f6e0b932cb41371260e6f5198c1a6de
Parents: 46f9c1d
Author: Ian Clelland <ic...@chromium.org>
Authored: Wed Jun 11 16:34:35 2014 -0400
Committer: Ian Clelland <ic...@chromium.org>
Committed: Wed Jun 11 16:35:13 2014 -0400
----------------------------------------------------------------------
src/android/FileTransfer.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/cordova-plugin-file-transfer/blob/32106e7a/src/android/FileTransfer.java
----------------------------------------------------------------------
diff --git a/src/android/FileTransfer.java b/src/android/FileTransfer.java
index 44a9717..c04c0d3 100644
--- a/src/android/FileTransfer.java
+++ b/src/android/FileTransfer.java
@@ -829,7 +829,7 @@ public class FileTransfer extends CordovaPlugin {
if (fileEntry != null) {
result = new PluginResult(PluginResult.Status.OK, fileEntry);
} else {
- JSONObject error = createFileTransferError(CONNECTION_ERR, source, target, connection);
+ JSONObject error = createFileTransferError(CONNECTION_ERR, source, target, connection, null);
Log.e(LOG_TAG, "File plugin cannot represent download path");
result = new PluginResult(PluginResult.Status.IO_EXCEPTION, error);
}