Don't fire resume upon init - only when returning from background.

Lifecycle behavior for PhoneGap app:
window.onload = loading html page
pause = html page entering background (not displayed)
resume = html page entering foreground (displayed)
window.onunload = leaving html page
This commit is contained in:
Bryce Curtis
2011-11-03 14:22:29 -05:00
committed by Joe Bowser
parent 7244a5a727
commit 141b8355ac
3 changed files with 2 additions and 22 deletions
@@ -239,7 +239,6 @@ public final class PluginManager {
this.plugins.put(className, plugin);
plugin.setContext(this.ctx);
plugin.setView(this.app);
plugin.onResume(true);
return plugin;
}
} catch (Exception e) {