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 2013/06/28 16:15:37 UTC

[13/26] js commit: [android] CB-3927 Fix start-up race condition that could cause exec() responses to be dropped.

[android] CB-3927 Fix start-up race condition that could cause exec() responses to be dropped.


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

Branch: refs/heads/2.9.x
Commit: b02ec10bcee21a84f2568bb7615f835f38fc1662
Parents: 3a9b99a
Author: Jeffrey Willms <jb...@google.com>
Authored: Mon Jun 24 10:32:30 2013 -0400
Committer: Andrew Grieve <ag...@chromium.org>
Committed: Mon Jun 24 10:32:30 2013 -0400

----------------------------------------------------------------------
 lib/scripts/bootstrap-android.js | 2 ++
 1 file changed, 2 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-js/blob/b02ec10b/lib/scripts/bootstrap-android.js
----------------------------------------------------------------------
diff --git a/lib/scripts/bootstrap-android.js b/lib/scripts/bootstrap-android.js
index 91a6f71..aa1ef0a 100644
--- a/lib/scripts/bootstrap-android.js
+++ b/lib/scripts/bootstrap-android.js
@@ -19,4 +19,6 @@
  *
 */
 
+// Tell the native code that a page change has occurred.
+require('cordova/exec')(null, null, 'PluginManager', 'startup', []);
 require('cordova/channel').onNativeReady.fire();