[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/41a2e9e2
Tree: http://git-wip-us.apache.org/repos/asf/cordova-js/tree/41a2e9e2
Diff: http://git-wip-us.apache.org/repos/asf/cordova-js/diff/41a2e9e2

Branch: refs/heads/2.9.x
Commit: 41a2e9e252f2996e8422b57cfcc62fce8786e070
Parents: 192aff3
Author: Ian Clelland <[email protected]>
Authored: Tue Jul 16 13:45:23 2013 -0400
Committer: Andrew Grieve <[email protected]>
Committed: Tue Oct 22 11:36:46 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/41a2e9e2/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