You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by bo...@apache.org on 2013/06/12 18:34:13 UTC

[2/3] android commit: Don't call loadUrlIntoView on the actvity

Don't call loadUrlIntoView on the actvity


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

Branch: refs/heads/master
Commit: e2a090bbbac69f43558f4fd31af71a2b32851cf9
Parents: a70c853
Author: Joe Bowser <bo...@apache.org>
Authored: Wed Jun 12 09:18:10 2013 -0700
Committer: Joe Bowser <bo...@apache.org>
Committed: Wed Jun 12 09:18:10 2013 -0700

----------------------------------------------------------------------
 .../org/apache/cordova/test/actions/CordovaWebViewTestActivity.java | 1 -
 1 file changed, 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-android/blob/e2a090bb/test/src/org/apache/cordova/test/actions/CordovaWebViewTestActivity.java
----------------------------------------------------------------------
diff --git a/test/src/org/apache/cordova/test/actions/CordovaWebViewTestActivity.java b/test/src/org/apache/cordova/test/actions/CordovaWebViewTestActivity.java
index ee65190..1185bad 100644
--- a/test/src/org/apache/cordova/test/actions/CordovaWebViewTestActivity.java
+++ b/test/src/org/apache/cordova/test/actions/CordovaWebViewTestActivity.java
@@ -97,7 +97,6 @@ public class CordovaWebViewTestActivity extends Activity implements CordovaInter
         super.onDestroy();
         if (cordovaWebView != null) {
             // Send destroy event to JavaScript
-            cordovaWebView.loadUrl("javascript:try{cordova.require('cordova/channel').onDestroy.fire();}catch(e){console.log('exception firing destroy event from native');};");
             cordovaWebView.handleDestroy();
         }
     }