am aa6b9f55: Do not show autofill++ or saved form data in incognito mode.
* commit 'aa6b9f55d60702211dd2d08403c7296347f0bd7d': Do not show autofill++ or saved form data in incognito mode.
This commit is contained in:
@@ -657,10 +657,11 @@ public class WebSettings {
|
||||
}
|
||||
|
||||
/**
|
||||
* Return whether the WebView is saving form data.
|
||||
* Return whether the WebView is saving form data and displaying prior
|
||||
* entries/autofill++. Always false in private browsing mode.
|
||||
*/
|
||||
public boolean getSaveFormData() {
|
||||
return mSaveFormData;
|
||||
return mSaveFormData && !mPrivateBrowsingEnabled;
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user