1
0
Fork 0
mirror of https://github.com/syncthing/syncthing-android.git synced 2025-01-10 20:15:54 +00:00

Merge pull request #376 from Zillode/disable-cache

Clear webview cache (fixes #374)
This commit is contained in:
Zillode 2015-05-05 19:47:34 +02:00
commit e77d5a6c12

View file

@ -120,6 +120,7 @@ public class WebGuiActivity extends SyncthingActivity
mWebView = (WebView) findViewById(R.id.webview); mWebView = (WebView) findViewById(R.id.webview);
mWebView.getSettings().setJavaScriptEnabled(true); mWebView.getSettings().setJavaScriptEnabled(true);
mWebView.setWebViewClient(mWebViewClient); mWebView.setWebViewClient(mWebViewClient);
mWebView.clearCache(true);
} }
@Override @Override