You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by ag...@apache.org on 2012/08/22 15:42:02 UTC

[1/4] js commit: [android] Remove comment that says PrivateApi bridge mode is not implemented.

Updated Branches:
  refs/heads/master ec617ee56 -> f8b6816a5


[android] Remove comment that says PrivateApi bridge mode is not implemented.


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

Branch: refs/heads/master
Commit: f8b6816a5e44b4f8cdcb4b61c49cff9b50b7ce6f
Parents: 18d986b
Author: Andrew Grieve <ag...@chromium.org>
Authored: Tue Aug 21 20:47:48 2012 -0400
Committer: Andrew Grieve <ag...@chromium.org>
Committed: Wed Aug 22 09:41:21 2012 -0400

----------------------------------------------------------------------
 lib/android/exec.js |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-cordova-js/blob/f8b6816a/lib/android/exec.js
----------------------------------------------------------------------
diff --git a/lib/android/exec.js b/lib/android/exec.js
index 4c300c5..0f18970 100644
--- a/lib/android/exec.js
+++ b/lib/android/exec.js
@@ -35,7 +35,10 @@ var cordova = require('cordova'),
         // listeners (both through addEventListener and window.ononline) as well
         // as set the navigator property itself.
         ONLINE_EVENT: 3,
-        PRIVATE_API: 4  // Not yet implemented
+        // Uses reflection to access private APIs of the WebView that can send JS
+        // to be executed.
+        // Requires Android 3.2.4 or above.
+        PRIVATE_API: 4
     };
 
 function androidExec(success, fail, service, action, args) {