OSDN Git Service

WebView: fix SafeBrowsingResponse javadocs
authorNate Fischer <ntfschr@google.com>
Thu, 27 Jul 2017 19:33:55 +0000 (12:33 -0700)
committerNate Fischer <ntfschr@google.com>
Tue, 8 Aug 2017 22:43:44 +0000 (15:43 -0700)
Docs change only.

This fixes javadoc errors in SafeBrowsingResponse.java:

 * Typo: capital "B" in "onSafeBrowsingHit"
 * Add full package names
 * Add parameter lists to all linked methods

Bug: 64077668
Test: make update-api and check javadocs manually
Change-Id: I5e7b0e59ba865619b252f7e9e431ffac6e1bab1f

core/java/android/webkit/SafeBrowsingResponse.java

index 024a70b..2ccd2ba 100644 (file)
@@ -18,9 +18,9 @@ package android.webkit;
 
 /**
  * Used to indicate an action to take when hitting a malicious URL. Instances of this class are
- * created by the WebView and passed to {@link WebViewClient#onSafeBrowsingHit}. The host
- * application must call {@link #showInterstitial}, {@link #proceed}, or {@link #backToSafety} to
- * set the WebView's response to the Safe Browsing hit.
+ * created by the WebView and passed to {@link android.webkit.WebViewClient#onSafeBrowsingHit}. The
+ * host application must call {@link #showInterstitial(boolean)}, {@link #proceed(boolean)}, or
+ * {@link #backToSafety(boolean)} to set the WebView's response to the Safe Browsing hit.
  */
 public abstract class SafeBrowsingResponse {