Commit 610aae6
committed
Don't run evaluateJavascript inside the webView.post callback
Calling WebView#post requires the WebView to be attached to the window
making it impossible to use AndroidWebView in headless mode (without UI).
The caller should use an appropriate thread to call evaluateJavaScript on.1 parent 4f5df17 commit 610aae6
1 file changed
Lines changed: 1 addition & 3 deletions
Lines changed: 1 addition & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
105 | 105 | | |
106 | 106 | | |
107 | 107 | | |
108 | | - | |
109 | | - | |
110 | | - | |
| 108 | + | |
111 | 109 | | |
112 | 110 | | |
113 | 111 | | |
| |||
0 commit comments