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/20 17:15:24 UTC
[3/4] js commit: [android] Don't bother disabling exec() bridge in
channel.onDestroy()
[android] Don't bother disabling exec() bridge in channel.onDestroy()
It is not required, and wasn't being triggered in all relevant cases
anyways, such as when changing pages.
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/9464e6b8
Tree: http://git-wip-us.apache.org/repos/asf/incubator-cordova-js/tree/9464e6b8
Diff: http://git-wip-us.apache.org/repos/asf/incubator-cordova-js/diff/9464e6b8
Branch: refs/heads/master
Commit: 9464e6b8d1e9d7d5361806a39cc3f49c7272fcd1
Parents: 6315a32
Author: Andrew Grieve <ag...@chromium.org>
Authored: Mon Aug 20 10:55:45 2012 -0400
Committer: Andrew Grieve <ag...@chromium.org>
Committed: Mon Aug 20 11:06:38 2012 -0400
----------------------------------------------------------------------
lib/android/platform.js | 4 ----
1 files changed, 0 insertions(+), 4 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-cordova-js/blob/9464e6b8/lib/android/platform.js
----------------------------------------------------------------------
diff --git a/lib/android/platform.js b/lib/android/platform.js
index cbd21bf..442f9f7 100644
--- a/lib/android/platform.js
+++ b/lib/android/platform.js
@@ -5,10 +5,6 @@ module.exports = {
cordova = require('cordova'),
exec = require('cordova/exec');
- channel.onDestroy.subscribe(function() {
- exec.setNativeToJsBridgeMode(-1);
- });
-
// Use a setTimeout here to give apps a chance to set the bridge mode.
setTimeout(function() {
exec.initialize();