title: Android Webview on 4.4 freezes with nativeOnDraw failed; clearing to background color
body: <p>I know this question has been asked many <a href="https://stackoverflow.com/questions/20675554/webview-rendering-issue-in-android-kitkat">times</a> and there are few work arounds.But none of them work for me</p>
  
  <p>I have a app that uses webview . On opening many apps and then waking up this app sometimes makes the webview blank. Other components of the app works but the webview is stuck.</p>
  
  <p>I disabled the hardware acceleration in <code>Androidmanifest.xml</code> and it did not work</p>
  
  <pre><code>&lt;application
      android:name="com.nandish.app.MyApplication"
      android:largeHeap="true"
      android:hardwareAccelerated="false"&gt;
  </code></pre>
  
  <p>I tried to add the following line in to the constructor of Webview</p>
  
  <pre><code>    setLayerType(View.LAYER_TYPE_SOFTWARE, null);
  </code></pre>
  
  <p>Even this does not work. I am able to reproduce the blank screen consistently. When it freezes, the error message on logs are </p>
  
  <pre><code>09-11 23:29:31.237: W/AwContents(2976): nativeOnDraw failed; clearing to background color.
  </code></pre>