summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author TreeHugger Robot <treehugger-gerrit@google.com> 2017-07-13 06:35:00 +0000
committer Android (Google) Code Review <android-gerrit@google.com> 2017-07-13 06:35:00 +0000
commit953daa0a7832998b801c368db36f7fba197552f9 (patch)
treed4f74b11edd7683fe48fbe8e24ab3ce7a40a0123
parent08246c0aea5d32637360336c7651c76423b866d2 (diff)
parent3ca196a12d902e7b2a2136f33fc61decd7e13216 (diff)
Merge "WebView: update docs for WebView#initSafeBrowsing"
-rw-r--r--core/java/android/webkit/WebView.java5
1 files changed, 3 insertions, 2 deletions
diff --git a/core/java/android/webkit/WebView.java b/core/java/android/webkit/WebView.java
index fad475c034a0..ed2547fa30b2 100644
--- a/core/java/android/webkit/WebView.java
+++ b/core/java/android/webkit/WebView.java
@@ -1622,8 +1622,9 @@ public class WebView extends AbsoluteLayout
}
/**
- * Starts Safe Browsing initialization. This should only be called once.
- * @param context is the activity context the WebView will be used in.
+ * Starts Safe Browsing initialization. This should only be called once. This does not require
+ * an Activity Context, and will always use the application Context to do its work.
+ * @param context Application Context.
* @param callback will be called with the value true if initialization is
* successful. The callback will be run on the UI thread.
*/