title: Android - WebView html5 local storage not persistant after app update
body: <p>I have an application that uses HTML5 local storage. The data in local storage is persistent throughout the app, while the app is open or closed. However, when the app was updated from the store, the local storage was erased. Is there a way to prevent the loss of local storage during app updates? Thanks!</p>
  
  <pre><code>mWebView = (WebView) findViewById(R.id.mWebView);
  WebSettings mWebSettings = mWebView.getSettings();
  mWebSettings.setAllowFileAccess(true);        
  mWebSettings.setDatabaseEnabled(true);
  mWebSettings.setDatabasePath("/data/data/"+this.getPackageName()+"/databases/");
  mWebSettings.setDomStorageEnabled(true);
  mWebSettings.setJavaScriptEnabled(true);
  </code></pre>