summaryrefslogtreecommitdiff
path: root/core/java/android/webkit/WebViewClient.java
diff options
context:
space:
mode:
authorPatrick Scott <phanna@android.com>2010-01-08 09:55:33 -0500
committerPatrick Scott <phanna@android.com>2010-01-08 10:16:33 -0500
commit6a5b0ecae5dc89a951e1e204bc007f50f944c5d1 (patch)
treee1a397b9504f9b3ec0e661a5d4ac5052a6af16c2 /core/java/android/webkit/WebViewClient.java
parent624d39dd818037d4c2f1b0ab846b0ba336a7e767 (diff)
Deprecate onTooManyRedirects.
The method was added a long time ago but has never been called. Rather than spend time implementing and testing this feature, deprecate the function. Bug: 2257857
Diffstat (limited to 'core/java/android/webkit/WebViewClient.java')
-rw-r--r--core/java/android/webkit/WebViewClient.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/core/java/android/webkit/WebViewClient.java b/core/java/android/webkit/WebViewClient.java
index 032295da5d73..02c721009b10 100644
--- a/core/java/android/webkit/WebViewClient.java
+++ b/core/java/android/webkit/WebViewClient.java
@@ -86,6 +86,8 @@ public class WebViewClient {
* @param view The WebView that is initiating the callback.
* @param cancelMsg The message to send if the host wants to cancel
* @param continueMsg The message to send if the host wants to continue
+ * @deprecated This method is no longer called. When the WebView encounters
+ * a redirect loop, it will cancel the load.
*/
public void onTooManyRedirects(WebView view, Message cancelMsg,
Message continueMsg) {