Merge "Deprectate WebViewDatabase password methods." into jb-mr2-dev
This commit is contained in:
@@ -28043,11 +28043,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 {
|
||||||
|
|||||||
@@ -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();
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user