Merge "Deprectate WebViewDatabase password methods." into jb-mr2-dev

This commit is contained in:
Ben Murdoch
2013-04-15 15:48:24 +00:00
committed by Android (Google) Code Review
2 changed files with 7 additions and 3 deletions

View File

@@ -28043,11 +28043,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 {

View File

@@ -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();
}