This commit is contained in:
macdonst 2012-02-24 17:51:20 -05:00
commit 3ed41597d2

View File

@ -908,8 +908,10 @@ public class DroidGap extends Activity implements CordovaInterface {
this.appView.loadUrl("about:blank");
// Forward to plugins
if (this.pluginManager != null) {
this.pluginManager.onDestroy();
}
}
else {
this.endActivity();
}
@ -924,8 +926,10 @@ public class DroidGap extends Activity implements CordovaInterface {
public void postMessage(String id, Object data) {
// Forward to plugins
if (this.pluginManager != null) {
this.pluginManager.postMessage(id, data);
}
}
/**
* @deprecated