mirror of
https://github.com/apache/cordova-android.git
synced 2025-02-20 23:56:20 +08:00
[CB-1957] Stop any playing media when closing InAppBrowser
This commit is contained in:
parent
77178daad3
commit
1f37200bb6
@ -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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user