Commit fa0b42ad authored by luca020400's avatar luca020400 Committed by Paul Keith

Jelly: Don't save form data in incognito mode

Change-Id: I2bd02ddc75cef0c080811181a846c2f25f24827d
parent 1fd384c2
......@@ -95,7 +95,7 @@ public class WebViewExt extends WebView {
getSettings().setJavaScriptEnabled(PrefsUtils.getJavascript(mActivity));
getSettings().setJavaScriptCanOpenWindowsAutomatically(PrefsUtils.getJavascript(mActivity));
getSettings().setGeolocationEnabled(PrefsUtils.getLocation(mActivity));
getSettings().setSaveFormData(PrefsUtils.getSaveFormData(mActivity));
getSettings().setSaveFormData(!mIncognito && PrefsUtils.getSaveFormData(mActivity));
getSettings().setBuiltInZoomControls(true);
getSettings().setDisplayZoomControls(false);
getSettings().setDomStorageEnabled(true);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment