Merge "Change the exception msg" into klp-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
4c73749614
@@ -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