incubator-callback-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From a...@apache.org
Subject [35/50] [abbrv] js commit: [android] Remove comment that says PrivateApi bridge mode is not implemented.
Date Fri, 24 Aug 2012 21:57:39 GMT
[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 <agrieve@chromium.org>
Authored: Tue Aug 21 20:47:48 2012 -0400
Committer: Anis Kadri <anis.kadri@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) {


Mime
View raw message