Updated Branches:
  refs/heads/3.0.x 525e76b74 -> 1965a396e

[CB-4004] Fix Android JS bridge break caused by bad rebase before 5ba835c

(cherry picked from commit 50f8dbb030e0eba700b50dc00188468467e1f9a4)


Project: http://git-wip-us.apache.org/repos/asf/cordova-js/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-js/commit/1965a396
Tree: http://git-wip-us.apache.org/repos/asf/cordova-js/tree/1965a396
Diff: http://git-wip-us.apache.org/repos/asf/cordova-js/diff/1965a396

Branch: refs/heads/3.0.x
Commit: 1965a396e970fcd314f5542f8b7a3d24c5768890
Parents: 525e76b
Author: Ian Clelland <[email protected]>
Authored: Tue Jul 16 13:45:23 2013 -0400
Committer: Ian Clelland <[email protected]>
Committed: Tue Jul 16 13:46:39 2013 -0400

----------------------------------------------------------------------
 lib/android/exec.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-js/blob/1965a396/lib/android/exec.js
----------------------------------------------------------------------
diff --git a/lib/android/exec.js b/lib/android/exec.js
index f55b5ad..08d3e56 100644
--- a/lib/android/exec.js
+++ b/lib/android/exec.js
@@ -75,7 +75,7 @@ function androidExec(success, fail, service, action, args) {
     // Process any ArrayBuffers in the args into a string.
     for (var i = 0; i < args.length; i++) {
         if (utils.typeName(args[i]) == 'ArrayBuffer') {
-            args[i] = utils.encodeBase64(args[i]);
+            args[i] = base64.fromArrayBuffer(args[i]);
         }
     }
 

Reply via email to