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

Commit 1eb8b726 authored by Selim Gurun's avatar Selim Gurun
Browse files

Change the exception msg

Change the exception msg to better identify the webview version.

Change-Id: I64c9a433144f9aa0362ad6c9217da92acbb655bc
parent 2167c0be
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");

    }