title: Android WebView getFavicon() returning null
body: <p>I'm trying to get the favicon of the loaded page after using</p>
  
  <pre><code>    WebView webView = new WebView(getActivity());
      webView.loadUrl("http://" + url);
  </code></pre>
  
  <p>I'm attaching the asynchronous <code>WebViewClient</code> to the <code>WebView</code> to get the favicon after it loads</p>
  
  <pre><code>    webView.setWebViewClient(new WebViewClient()
      {
          @Override
          public void onPageFinished(WebView view, String url)
          {
              String linkTitle = view.getTitle();
              Bitmap favicon = view.getFavicon();
  
              onLinkUrlFinished(url, linkTitle);
          }
      });
  </code></pre>
  
  <p>The favicon getting back is always null, even for websites such as google/facebook that has favicons for sure.</p>
  
  <p>Another thread says to use <code>WebIconDatabase</code> but it's deprecated:
  <a href="https://stackoverflow.com/questions/3462582/display-the-android-webviews-favicon/5346347#5346347">Display the Android WebView&#39;s favicon</a></p>
  
  <p>The API on android site refers to <code>WebViewClient.onReceivedIcon</code> which doesnt even exist.<a href="http://developer.android.com/reference/android/webkit/WebView.html#getFavicon%28%29" rel="nofollow noreferrer">http://developer.android.com/reference/android/webkit/WebView.html#getFavicon%28%29</a></p>
  
  <p>What's going on here?</p>