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/24 16:33:35 UTC

[2/2] js commit: [android] CB-3927 Fix start-up race condition that could cause exec() responses to be dropped. (cherry picked from commit b02ec10bcee21a84f2568bb7615f835f38fc1662)

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


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

Branch: refs/heads/3.0.0
Commit: fc67a36bf0559864fbd0ac48c7ef48e7fdeb52e6
Parents: 2cdca71
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:33:29 2013 -0400

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


http://git-wip-us.apache.org/repos/asf/cordova-js/blob/fc67a36b/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();