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

Commit 924ac51e authored by Ben Murdoch's avatar Ben Murdoch
Browse files

Deprectate WebViewDatabase password methods.

Bug: 8593749
Change-Id: I3d87fa43731a275af95f00933a5439d17a16ae80
parent f8a67f4f
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -27934,11 +27934,11 @@ package android.webkit {
  public class WebViewDatabase {
    method public void clearFormData();
    method public void clearHttpAuthUsernamePassword();
    method public void clearUsernamePassword();
    method public deprecated void clearUsernamePassword();
    method public static android.webkit.WebViewDatabase getInstance(android.content.Context);
    method public boolean hasFormData();
    method public boolean hasHttpAuthUsernamePassword();
    method public boolean hasUsernamePassword();
    method public deprecated boolean hasUsernamePassword();
  }
  public class WebViewFragment extends android.app.Fragment {
+5 −1
Original line number Diff line number Diff line
@@ -50,8 +50,10 @@ public class WebViewDatabase {
     *
     * @return true if there are any saved username/password pairs
     * @see WebView#savePassword
     * @see #clearUsernamePassword
     * @see #clearUsernamePassworda
     * @deprecated Saving passwords in WebView will not be supported in future versions.
     */
    @Deprecated
    public boolean hasUsernamePassword() {
        throw new MustOverrideException();
    }
@@ -62,7 +64,9 @@ public class WebViewDatabase {
     *
     * @see WebView#savePassword
     * @see #hasUsernamePassword
     * @deprecated Saving passwords in WebView will not be supported in future versions.
     */
    @Deprecated
    public void clearUsernamePassword() {
        throw new MustOverrideException();
    }