From 3f332e8b8b838c07363f33d8759cf1fcb28b8ce0 Mon Sep 17 00:00:00 2001 From: Lode Hoste Date: Wed, 29 Apr 2015 19:47:37 +0200 Subject: [PATCH] Clear webview cache (fixes #374) --- .../com/nutomic/syncthingandroid/activities/WebGuiActivity.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main/java/com/nutomic/syncthingandroid/activities/WebGuiActivity.java b/src/main/java/com/nutomic/syncthingandroid/activities/WebGuiActivity.java index 636c72b1..47b58bc3 100644 --- a/src/main/java/com/nutomic/syncthingandroid/activities/WebGuiActivity.java +++ b/src/main/java/com/nutomic/syncthingandroid/activities/WebGuiActivity.java @@ -53,6 +53,7 @@ public class WebGuiActivity extends SyncthingActivity implements SyncthingServic mWebView = (WebView) findViewById(R.id.webview); mWebView.getSettings().setJavaScriptEnabled(true); mWebView.setWebViewClient(mWebViewClient); + mWebView.clearCache(true); } @Override