am 4c737496: Merge "Change the exception msg" into klp-dev
* commit '4c737496142085a7354e6aa663c09b5dd5a83633': Change the exception msg
This commit is contained in:
@@ -2659,7 +2659,7 @@ public final class WebViewClassic implements WebViewProvider, WebViewProvider.Sc
|
|||||||
@Override
|
@Override
|
||||||
public void evaluateJavaScript(String script, ValueCallback<String> resultCallback) {
|
public void evaluateJavaScript(String script, ValueCallback<String> resultCallback) {
|
||||||
// K-only API not implemented in WebViewClassic.
|
// 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,
|
public void exportToPdf(java.io.OutputStream out, int width, int height,
|
||||||
ValueCallback<Boolean> resultCallback) {
|
ValueCallback<Boolean> resultCallback) {
|
||||||
// K-only API not implemented in WebViewClassic.
|
// 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");
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user