Merge "WebView: document Safe Browsing and shouldInterceptRequest" into oc-mr1-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
563cd2d3ca
@@ -154,6 +154,10 @@ public class WebViewClient {
|
||||
* other than the UI thread so clients should exercise caution
|
||||
* when accessing private data or the view system.
|
||||
*
|
||||
* <p>Note: when Safe Browsing is enabled, these URLs still undergo Safe Browsing checks. If
|
||||
* this is undesired, whitelist the URL with {@link WebView#setSafeBrowsingWhitelist} or ignore
|
||||
* the warning with {@link #onSafeBrowsingHit}.
|
||||
*
|
||||
* @param view The {@link android.webkit.WebView} that is requesting the
|
||||
* resource.
|
||||
* @param url The raw url of the resource.
|
||||
@@ -177,6 +181,10 @@ public class WebViewClient {
|
||||
* other than the UI thread so clients should exercise caution
|
||||
* when accessing private data or the view system.
|
||||
*
|
||||
* <p>Note: when Safe Browsing is enabled, these URLs still undergo Safe Browsing checks. If
|
||||
* this is undesired, whitelist the URL with {@link WebView#setSafeBrowsingWhitelist} or ignore
|
||||
* the warning with {@link #onSafeBrowsingHit}.
|
||||
*
|
||||
* @param view The {@link android.webkit.WebView} that is requesting the
|
||||
* resource.
|
||||
* @param request Object containing the details of the request.
|
||||
|
||||
Reference in New Issue
Block a user