title: webView.canGoBack() not working when using loadDataWithBaseURL()
body: <p>I have a <code>WebView</code> in my application that displays HTML data downloaded from a webpage. Why do I load the HTML rather than the URL alone? Well, in order for me to allow offline search, I download the HTML data and store it on an SQL database. </p>
  
  <p>Everything works well, and subsequent calls to <code>loadDataWithBaseUrl()</code> work well, and keep on loading correctly on my <code>WebView</code>, but whenever the user presses the back key, the user is just taken back to the last activity on the stack, rather than going back. </p>
  
  <p>I tried using the following code: </p>
  
  <pre><code>// Check if the key event was the Back button and if there's history
  if ((keyCode == KeyEvent.KEYCODE_BACK) &amp;&amp; myWebView.canGoBack()) {
      myWebView.goBack();
      return true;
  }
  </code></pre>
  
  <p>But then I tried forcing the <code>WebView</code> to go back, without checking if it could or not, via:</p>
  
  <pre><code>// Check if the key event was the Back button and if there's history
  if ((keyCode == KeyEvent.KEYCODE_BACK)) {
      myWebView.goBack();
      return true;
  }
  </code></pre>
  
  <p>but nothing happens, it just stays on the same place.</p>
  
  <p>As an FYI, I've tried passing <code>null</code> and an actual URL when calling <code>loadData()</code>, here's how I have it set right now:</p>
  
  <pre><code>view.loadDataWithBaseURL(mUrl, mHtmlData, SearchUtils.MIME_TYPE, SearchUtils.CHARSET, "");
  </code></pre>
  
  <p>I read this <a href="https://stackoverflow.com/questions/2686933/android-webview-can-render-html-going-forward-but-not-backward">answer</a> but I am hoping for better luck.</p>