You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by an...@apache.org on 2012/08/24 23:57:39 UTC

[35/50] [abbrv] js commit: [android] Remove comment that says PrivateApi bridge mode is not implemented.

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

Branch: refs/heads/master
Commit: e4887d6e381c0cbcb11be50ea3824397ef654c89
Parents: 0d43c0b
Author: Andrew Grieve <ag...@chromium.org>
Authored: Tue Aug 21 20:47:48 2012 -0400
Committer: Anis Kadri <an...@gmail.com>
Committed: Fri Aug 24 13:49:59 2012 -0700

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


http://git-wip-us.apache.org/repos/asf/incubator-cordova-js/blob/e4887d6e/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) {