summaryrefslogtreecommitdiffstats
path: root/core/java/android/webkit
diff options
context:
space:
mode:
authorSelim Gurun <sgurun@google.com>2015-03-30 16:18:04 -0700
committerSelim Gurun <sgurun@google.com>2015-03-30 16:41:06 -0700
commitfc90c05649a7a19e330c386cba35a4d2c35f8349 (patch)
treec82d30f686f0109e111dcca450eb4507c1634a07 /core/java/android/webkit
parent9d7b58571f9b8a00cddd204c556de4c1610b8996 (diff)
downloadframeworks_base-fc90c05649a7a19e330c386cba35a4d2c35f8349.zip
frameworks_base-fc90c05649a7a19e330c386cba35a4d2c35f8349.tar.gz
frameworks_base-fc90c05649a7a19e330c386cba35a4d2c35f8349.tar.bz2
Remove unnecessary code
Bug: 19313118 As part of the "better error reporting for Webview" work, a new public API was defined for MNC release to report blocked loads. However, we decided to use WebChromeClient.onConsoleMessage for this case. Removing the API. Change-Id: I1a599385f1ecdd10ba5a774b0b2a6b9f4bdcbd95
Diffstat (limited to 'core/java/android/webkit')
-rw-r--r--core/java/android/webkit/WebViewClient.java2
1 files changed, 0 insertions, 2 deletions
diff --git a/core/java/android/webkit/WebViewClient.java b/core/java/android/webkit/WebViewClient.java
index 53c7e04..8a2b3fa 100644
--- a/core/java/android/webkit/WebViewClient.java
+++ b/core/java/android/webkit/WebViewClient.java
@@ -200,8 +200,6 @@ public class WebViewClient {
public static final int ERROR_FILE_NOT_FOUND = -14;
/** Too many requests during this load */
public static final int ERROR_TOO_MANY_REQUESTS = -15;
- /** Request blocked by the browser */
- public static final int ERROR_BLOCKED = -16;
/**
* Report an error to the host application. These errors are unrecoverable