Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit fc90c056 authored by Selim Gurun's avatar Selim Gurun
Browse files

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
parent 9d7b5857
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -37793,7 +37793,6 @@ package android.webkit {
    method public boolean shouldOverrideUrlLoading(android.webkit.WebView, java.lang.String);
    field public static final int ERROR_AUTHENTICATION = -4; // 0xfffffffc
    field public static final int ERROR_BAD_URL = -12; // 0xfffffff4
    field public static final int ERROR_BLOCKED = -16; // 0xfffffff0
    field public static final int ERROR_CONNECT = -6; // 0xfffffffa
    field public static final int ERROR_FAILED_SSL_HANDSHAKE = -11; // 0xfffffff5
    field public static final int ERROR_FILE = -13; // 0xfffffff3
+0 −1
Original line number Diff line number Diff line
@@ -40438,7 +40438,6 @@ package android.webkit {
    method public boolean shouldOverrideUrlLoading(android.webkit.WebView, java.lang.String);
    field public static final int ERROR_AUTHENTICATION = -4; // 0xfffffffc
    field public static final int ERROR_BAD_URL = -12; // 0xfffffff4
    field public static final int ERROR_BLOCKED = -16; // 0xfffffff0
    field public static final int ERROR_CONNECT = -6; // 0xfffffffa
    field public static final int ERROR_FAILED_SSL_HANDSHAKE = -11; // 0xfffffff5
    field public static final int ERROR_FILE = -13; // 0xfffffff3
+0 −2
Original line number Diff line number Diff line
@@ -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