Loading core/java/android/webkit/WebSettings.java +15 −0 Original line number Diff line number Diff line Loading @@ -207,6 +207,7 @@ public class WebSettings { private RenderPriority mRenderPriority = RenderPriority.NORMAL; private int mOverrideCacheMode = LOAD_DEFAULT; private boolean mSaveFormData = true; private boolean mAutoFillEnabled = false; private boolean mSavePassword = true; private boolean mLightTouchEnabled = false; private boolean mNeedInitialFocus = true; Loading Loading @@ -595,6 +596,20 @@ public class WebSettings { return mSaveFormData; } /** * @hide */ public void setAutoFillEnabled(boolean enabled) { mAutoFillEnabled = enabled; } /** * @hide */ public boolean getAutoFillEnabled() { return mAutoFillEnabled; } /** * Store whether the WebView is saving password. */ Loading core/java/android/webkit/WebTextView.java +2 −1 Original line number Diff line number Diff line Loading @@ -137,7 +137,8 @@ import java.util.ArrayList; } public void setAutoFillable(int queryId) { mAutoFillable = (queryId != FORM_NOT_AUTOFILLABLE); mAutoFillable = mWebView.getSettings().getAutoFillEnabled() && (queryId != FORM_NOT_AUTOFILLABLE); mQueryId = queryId; } Loading Loading
core/java/android/webkit/WebSettings.java +15 −0 Original line number Diff line number Diff line Loading @@ -207,6 +207,7 @@ public class WebSettings { private RenderPriority mRenderPriority = RenderPriority.NORMAL; private int mOverrideCacheMode = LOAD_DEFAULT; private boolean mSaveFormData = true; private boolean mAutoFillEnabled = false; private boolean mSavePassword = true; private boolean mLightTouchEnabled = false; private boolean mNeedInitialFocus = true; Loading Loading @@ -595,6 +596,20 @@ public class WebSettings { return mSaveFormData; } /** * @hide */ public void setAutoFillEnabled(boolean enabled) { mAutoFillEnabled = enabled; } /** * @hide */ public boolean getAutoFillEnabled() { return mAutoFillEnabled; } /** * Store whether the WebView is saving password. */ Loading
core/java/android/webkit/WebTextView.java +2 −1 Original line number Diff line number Diff line Loading @@ -137,7 +137,8 @@ import java.util.ArrayList; } public void setAutoFillable(int queryId) { mAutoFillable = (queryId != FORM_NOT_AUTOFILLABLE); mAutoFillable = mWebView.getSettings().getAutoFillEnabled() && (queryId != FORM_NOT_AUTOFILLABLE); mQueryId = queryId; } Loading