File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -9283,13 +9283,13 @@ protected void updateCachedTextfield(String updatedText) {
92839283
92849284 private static void checkThread () {
92859285 if (Looper .myLooper () != Looper .getMainLooper ()) {
9286- RuntimeException exception = new RuntimeException (
9287- "A WebView method was called on thread '" +
9286+ Throwable throwable = new Throwable (
9287+ "Warning: A WebView method was called on thread '" +
92889288 Thread .currentThread ().getName () + "'. " +
92899289 "All WebView methods must be called on the UI thread. " +
92909290 "Future versions of WebView may not support use on other threads." );
9291- Log .e (LOGTAG , Log .getStackTraceString (exception ));
9292- StrictMode .onWebViewMethodCalledOnWrongThread (exception );
9291+ Log .w (LOGTAG , Log .getStackTraceString (throwable ));
9292+ StrictMode .onWebViewMethodCalledOnWrongThread (throwable );
92939293 }
92949294 }
92959295
You can’t perform that action at this time.
0 commit comments