Don't call loadUrlIntoView on the actvity

This commit is contained in:
Joe Bowser 2013-06-12 09:18:10 -07:00
parent a70c8536f9
commit e2a090bbba

View File

@ -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();
}
}