cordova-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From agri...@apache.org
Subject android commit: [CB-1957] Stop any playing media when closing InAppBrowser
Date Wed, 20 Mar 2013 19:56:34 GMT
Updated Branches:
  refs/heads/master 77178daad -> 1f37200bb


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


Project: http://git-wip-us.apache.org/repos/asf/cordova-android/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-android/commit/1f37200b
Tree: http://git-wip-us.apache.org/repos/asf/cordova-android/tree/1f37200b
Diff: http://git-wip-us.apache.org/repos/asf/cordova-android/diff/1f37200b

Branch: refs/heads/master
Commit: 1f37200bb64351f56b390d2b3dc6ace9cc0be77d
Parents: 77178da
Author: Ian Clelland <iclelland@chromium.org>
Authored: Wed Mar 20 11:48:54 2013 -0400
Committer: Andrew Grieve <agrieve@chromium.org>
Committed: Wed Mar 20 15:56:27 2013 -0400

----------------------------------------------------------------------
 framework/src/org/apache/cordova/InAppBrowser.java |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-android/blob/1f37200b/framework/src/org/apache/cordova/InAppBrowser.java
----------------------------------------------------------------------
diff --git a/framework/src/org/apache/cordova/InAppBrowser.java b/framework/src/org/apache/cordova/InAppBrowser.java
index 87bc63f..48e27c6 100644
--- a/framework/src/org/apache/cordova/InAppBrowser.java
+++ b/framework/src/org/apache/cordova/InAppBrowser.java
@@ -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);
 


Mime
View raw message