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

Commit 4c737496 authored by Kristian Monsen's avatar Kristian Monsen Committed by Android (Google) Code Review
Browse files

Merge "Change the exception msg" into klp-dev

parents 049cbd64 1eb8b726
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -2659,7 +2659,7 @@ public final class WebViewClassic implements WebViewProvider, WebViewProvider.Sc
    @Override
    public void evaluateJavaScript(String script, ValueCallback<String> resultCallback) {
        // K-only API not implemented in WebViewClassic.
        throw new IllegalStateException("This API not supported in Classic WebView.");
        throw new IllegalStateException("This API not supported on Android 4.3 and earlier");
    }

    /**
@@ -2898,7 +2898,7 @@ public final class WebViewClassic implements WebViewProvider, WebViewProvider.Sc
    public void exportToPdf(java.io.OutputStream out, int width, int height,
            ValueCallback<Boolean> resultCallback) {
        // K-only API not implemented in WebViewClassic.
        throw new IllegalStateException("This API not supported in Classic WebView.");
        throw new IllegalStateException("This API not supported on Android 4.3 and earlier");

    }