cordova-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bows...@apache.org
Subject [2/3] android commit: Don't call loadUrlIntoView on the actvity
Date Wed, 12 Jun 2013 16:34:13 GMT
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 <bowserj@apache.org>
Authored: Wed Jun 12 09:18:10 2013 -0700
Committer: Joe Bowser <bowserj@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();
         }
     }


Mime
View raw message