We ran into a problem when leaving the activity. WebView will display the following message in logcat:
EventHub.removeMessages(int what = 107) is not supported before WebViewCore is set up
To prevent this message from showing up use WebView stopLoading() method:
// !!! This method is wrong!
// !!! Do not solve problem
@Override
public void onStop() {
try{
webView.stopLoading();
}catch(Exception e){
e.printStackTrace();
}
}