forked from github/cordova-android
Merge branch 'master' of https://git-wip-us.apache.org/repos/asf/incubator-cordova-android into license
This commit is contained in:
commit
3ed41597d2
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user