summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarcin Kosiba <mkosiba@google.com>2015-02-02 10:22:34 +0000
committerAndroid (Google) Code Review <android-gerrit@google.com>2015-02-02 10:22:43 +0000
commitd26b16cbdfd24c6a00f889f5a4dd8a00e2213f7f (patch)
tree13df625fdf63386e279ff579efa00f318059e271
parent3a1f4bfda67260ced92f27c255cada850ef54f01 (diff)
parent16687cc956af678032f03e1c9ec5ee51736bc763 (diff)
downloadframeworks_base-d26b16cbdfd24c6a00f889f5a4dd8a00e2213f7f.zip
frameworks_base-d26b16cbdfd24c6a00f889f5a4dd8a00e2213f7f.tar.gz
frameworks_base-d26b16cbdfd24c6a00f889f5a4dd8a00e2213f7f.tar.bz2
Merge "Update docs to say onPageStarted is not called for fragment navigations."
-rw-r--r--core/java/android/webkit/WebViewClient.java4
1 files changed, 3 insertions, 1 deletions
diff --git a/core/java/android/webkit/WebViewClient.java b/core/java/android/webkit/WebViewClient.java
index d52dd60..1cc899d 100644
--- a/core/java/android/webkit/WebViewClient.java
+++ b/core/java/android/webkit/WebViewClient.java
@@ -50,7 +50,9 @@ public class WebViewClient {
* is called once for each main frame load so a page with iframes or
* framesets will call onPageStarted one time for the main frame. This also
* means that onPageStarted will not be called when the contents of an
- * embedded frame changes, i.e. clicking a link whose target is an iframe.
+ * embedded frame changes, i.e. clicking a link whose target is an iframe,
+ * it will also not be called for fragment navigations (navigations to
+ * #fragment_id).
*
* @param view The WebView that is initiating the callback.
* @param url The url to be loaded.