Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 659e49ab authored by Treehugger Robot's avatar Treehugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Docs: add a message to already-deprecated API" into main

parents 5228fb35 028d7cb3
Loading
Loading
Loading
Loading
+15 −8
Original line number Diff line number Diff line
@@ -497,25 +497,32 @@ public abstract class WebSettings {
    public abstract  boolean getUseWebViewBackgroundForOverscrollBackground();

    /**
     * Sets whether the WebView should save form data. In Android O, the
     * platform has implemented a fully functional Autofill feature to store
     * form data. Therefore, the Webview form data save feature is disabled.
     * Sets whether the WebView should save form data. In {@link android.os.Build.VERSION_CODES#O},
     * the platform has implemented a fully functional Autofill feature to store form data.
     * Therefore, the Webview form data save feature is disabled.
     *
     * Note that the feature will continue to be supported on older versions of
     * <p>Note that the feature will continue to be supported on older versions of
     * Android as before.
     *
     * @deprecated In Android O and afterwards, this function does not have
     * any effect, the form data will be saved to platform's autofill service
     * if applicable.
     * @see #getSaveFormData
     * @deprecated In Android O and afterwards, this function does not have any effect. Form data
     * will be saved to platform's autofill service if applicable.
     */
    @Deprecated
    public abstract  void setSaveFormData(boolean save);

    /**
     * Gets whether the WebView saves form data.
     * Gets whether the WebView saves form data. In {@link android.os.Build.VERSION_CODES#O}, the
     * platform has implemented a fully functional Autofill feature to store form data. Therefore,
     * the Webview form data save feature is disabled.
     *
     * <p>Note that the feature will continue to be supported on older versions of
     * Android as before.
     *
     * @return whether the WebView saves form data
     * @see #setSaveFormData
     * @deprecated In Android O and afterwards, this function does not have any effect. Form data
     * will be filled from the platform's autofill service if applicable.
     */
    @Deprecated
    public abstract boolean getSaveFormData();