Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(670)

Unified Diff: android_webview/glue/java/src/com/android/webview/chromium/ContentSettingsAdapter.java

Issue 2794113002: Deprecate WebView Autocomplete (Closed)
Patch Set: Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | android_webview/glue/java/src/com/android/webview/chromium/WebViewDatabaseAdapter.java » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: android_webview/glue/java/src/com/android/webview/chromium/ContentSettingsAdapter.java
diff --git a/android_webview/glue/java/src/com/android/webview/chromium/ContentSettingsAdapter.java b/android_webview/glue/java/src/com/android/webview/chromium/ContentSettingsAdapter.java
index ec63750ead346fe61e94fdb7254b6f1327f0dad6..78acd7aa37f1a3aaf9e2cd41bdf40b39ddd060db 100644
--- a/android_webview/glue/java/src/com/android/webview/chromium/ContentSettingsAdapter.java
+++ b/android_webview/glue/java/src/com/android/webview/chromium/ContentSettingsAdapter.java
@@ -10,6 +10,7 @@ import android.webkit.WebSettings.RenderPriority;
import android.webkit.WebSettings.ZoomDensity;
import org.chromium.android_webview.AwSettings;
+import org.chromium.base.BuildInfo;
import org.chromium.base.annotations.SuppressFBWarnings;
/**
@@ -136,11 +137,15 @@ public class ContentSettingsAdapter extends android.webkit.WebSettings {
@Override
public void setSaveFormData(boolean save) {
+ if (BuildInfo.isAtLeastO()) return;
+
mAwSettings.setSaveFormData(save);
}
@Override
public boolean getSaveFormData() {
+ if (BuildInfo.isAtLeastO()) return false;
+
return mAwSettings.getSaveFormData();
}
« no previous file with comments | « no previous file | android_webview/glue/java/src/com/android/webview/chromium/WebViewDatabaseAdapter.java » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698