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

Commit 5d4d155e authored by Ben Murdoch's avatar Ben Murdoch Committed by Android Git Automerger
Browse files

am e41c3cdb: am 7e157f32: Merge "Deprectate WebViewDatabase password methods." into jb-mr2-dev

* commit 'e41c3cdb':
  Deprectate WebViewDatabase password methods.
parents 9015e018 e41c3cdb
Loading
Loading
Loading
Loading
+2 −2
Original line number Original line Diff line number Diff line
@@ -28048,11 +28048,11 @@ package android.webkit {
  public class WebViewDatabase {
  public class WebViewDatabase {
    method public void clearFormData();
    method public void clearFormData();
    method public void clearHttpAuthUsernamePassword();
    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 static android.webkit.WebViewDatabase getInstance(android.content.Context);
    method public boolean hasFormData();
    method public boolean hasFormData();
    method public boolean hasHttpAuthUsernamePassword();
    method public boolean hasHttpAuthUsernamePassword();
    method public boolean hasUsernamePassword();
    method public deprecated boolean hasUsernamePassword();
  }
  }
  public class WebViewFragment extends android.app.Fragment {
  public class WebViewFragment extends android.app.Fragment {
+5 −1
Original line number Original line Diff line number Diff line
@@ -50,8 +50,10 @@ public class WebViewDatabase {
     *
     *
     * @return true if there are any saved username/password pairs
     * @return true if there are any saved username/password pairs
     * @see WebView#savePassword
     * @see WebView#savePassword
     * @see #clearUsernamePassword
     * @see #clearUsernamePassworda
     * @deprecated Saving passwords in WebView will not be supported in future versions.
     */
     */
    @Deprecated
    public boolean hasUsernamePassword() {
    public boolean hasUsernamePassword() {
        throw new MustOverrideException();
        throw new MustOverrideException();
    }
    }
@@ -62,7 +64,9 @@ public class WebViewDatabase {
     *
     *
     * @see WebView#savePassword
     * @see WebView#savePassword
     * @see #hasUsernamePassword
     * @see #hasUsernamePassword
     * @deprecated Saving passwords in WebView will not be supported in future versions.
     */
     */
    @Deprecated
    public void clearUsernamePassword() {
    public void clearUsernamePassword() {
        throw new MustOverrideException();
        throw new MustOverrideException();
    }
    }