mirror of
https://github.com/apache/cordova-android.git
synced 2025-02-27 04:33:00 +08:00
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");
|
this.appView.loadUrl("about:blank");
|
||||||
|
|
||||||
// Forward to plugins
|
// Forward to plugins
|
||||||
|
if (this.pluginManager != null) {
|
||||||
this.pluginManager.onDestroy();
|
this.pluginManager.onDestroy();
|
||||||
}
|
}
|
||||||
|
}
|
||||||
else {
|
else {
|
||||||
this.endActivity();
|
this.endActivity();
|
||||||
}
|
}
|
||||||
@ -924,8 +926,10 @@ public class DroidGap extends Activity implements CordovaInterface {
|
|||||||
public void postMessage(String id, Object data) {
|
public void postMessage(String id, Object data) {
|
||||||
|
|
||||||
// Forward to plugins
|
// Forward to plugins
|
||||||
|
if (this.pluginManager != null) {
|
||||||
this.pluginManager.postMessage(id, data);
|
this.pluginManager.postMessage(id, data);
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @deprecated
|
* @deprecated
|
||||||
|
Loading…
Reference in New Issue
Block a user