1
0
Fork 0
mirror of https://github.com/gsantner/dandelion synced 2024-11-25 22:02:08 +01:00

Disable Webview FileAccess

This commit is contained in:
vanitasvitae 2016-08-13 00:42:13 +02:00
parent 79e8ead9bc
commit d53e955985

View file

@ -258,6 +258,7 @@ public class MainActivity extends AppCompatActivity
webSettings = webView.getSettings(); webSettings = webView.getSettings();
webSettings.setJavaScriptEnabled(true); webSettings.setJavaScriptEnabled(true);
webSettings.setAllowFileAccess(false);
webSettings.setUseWideViewPort(true); webSettings.setUseWideViewPort(true);
webSettings.setLoadWithOverviewMode(true); webSettings.setLoadWithOverviewMode(true);
webSettings.setDomStorageEnabled(true); webSettings.setDomStorageEnabled(true);