diff options
| author | Steve Block <steveblock@google.com> | 2012-07-17 16:29:11 +0100 |
|---|---|---|
| committer | Steve Block <steveblock@google.com> | 2012-07-23 10:32:35 +0100 |
| commit | 32fe410a5d750096dfb902fda384e58e513f53e4 (patch) | |
| tree | 7ce5af6afc469c6302712788ca574f0b23ff168c /core/java/android/webkit/WebViewDatabase.java | |
| parent | e09e976dad1d974ca28381451b0bbbeafbb872d5 (diff) | |
Improve JavaDoc for saved username/password pairs
Change-Id: Ief079666eb1250f0a57089c778669b638a259194
Diffstat (limited to 'core/java/android/webkit/WebViewDatabase.java')
| -rw-r--r-- | core/java/android/webkit/WebViewDatabase.java | 17 |
1 files changed, 11 insertions, 6 deletions
diff --git a/core/java/android/webkit/WebViewDatabase.java b/core/java/android/webkit/WebViewDatabase.java index 9d10d67be0f7..418a5d994988 100644 --- a/core/java/android/webkit/WebViewDatabase.java +++ b/core/java/android/webkit/WebViewDatabase.java @@ -23,7 +23,7 @@ import android.content.Context; * application has stored any of the following types of browsing data and * to clear any such stored data for all WebViews in the application. * <ul> - * <li>Username/password pairs entered into web forms</li> + * <li>Username/password pairs for web forms</li> * <li>HTTP authentication username/password pairs</li> * <li>Data entered into text fields (e.g. for autocomplete suggestions)</li> * </ul> @@ -43,18 +43,23 @@ public class WebViewDatabase { } /** - * Gets whether there are any username/password combinations - * from web pages saved. + * Gets whether there are any saved username/password pairs for web forms. + * Note that these are unrelated to HTTP authentication credentials. * - * @return true if there are any username/passwords used in web - * forms saved + * @return true if there are any saved username/password pairs + * @see WebView#savePassword + * @see clearUsernamePassword */ public boolean hasUsernamePassword() { throw new MustOverrideException(); } /** - * Clears any username/password combinations saved from web forms. + * Clears any saved username/password pairs for web forms. + * Note that these are unrelated to HTTP authentication credentials. + * + * @see WebView#savePassword + * @see hasUsernamePassword */ public void clearUsernamePassword() { throw new MustOverrideException(); |
