[CB-1957] Stop any playing media when closing InAppBrowser

This commit is contained in:
Ian Clelland 2013-03-20 11:48:54 -04:00 committed by Andrew Grieve
parent 77178daad3
commit 1f37200bb6

View File

@ -231,6 +231,7 @@ public class InAppBrowser extends CordovaPlugin {
*/
private void closeDialog() {
try {
this.inAppWebView.loadUrl("about:blank");
JSONObject obj = new JSONObject();
obj.put("type", EXIT_EVENT);