title: Android WebView Warnings
body: <p>I have a Fragment in a ViewPager which container one WebView to display offline content in HTML format. But i get some warnings and i don't know why. There is no problem in use but the warnings are annoying.</p>
  
  <p>Here is the code:</p>
  
  <pre><code>// configure
  webView.getSettings().setAppCacheEnabled(false);
  webView.getSettings().setJavaScriptEnabled(false);
  webView.getSettings().setDomStorageEnabled(false);
  webView.getSettings().setDatabaseEnabled(false);
  webView.getSettings().setCacheMode(WebSettings.LOAD_NO_CACHE);
  webView.getSettings().setSupportZoom(false);
  
  // disable copy &amp; paste
  webView.setOnLongClickListener( new View.OnLongClickListener() {
      @Override
      public boolean onLongClick(View v) {
          return true;
      }
  });
  
  // content
  StringBuilder sb = new StringBuilder();
  sb.append("&lt;html&gt;&lt;head&gt;&lt;/head&gt; ... &lt;/html&gt;");
  webView.loadData(sb.toString(), "text/html", "UTF-8");
  webView.setBackgroundColor(Color.TRANSPARENT);
  ViewCompat.setLayerType( webView, ViewCompat.LAYER_TYPE_SOFTWARE, null );
  </code></pre>
  
  <p>And here are the warnings:</p>
  
  <blockquote>
    <p>W/art﹕ Attempt to remove local handle scope entry from IRT, ignoring<br>
    W/AwContents﹕ onDetachedFromWindow called when already detached. Ignoring<br>
    W/chromium﹕ [WARNING:data_reduction_proxy_config.cc(630)] SPDY proxy OFF at startup<br>
    W/cr.BindingManager﹕ Cannot call determinedVisibility() - never saw a connection for the pid: 4441</p>
  </blockquote>
  
  <p>Everything i want is to display some html offline with no JavaScript.</p>