We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 87e12b0 + a0d767c commit 0a20d6aCopy full SHA for 0a20d6a
core/java/android/webkit/CallbackProxy.java
@@ -905,11 +905,9 @@ public void startWait() {
905
*/
906
907
public void onPageStarted(String url, Bitmap favicon) {
908
- // Do an unsynchronized quick check to avoid posting if no callback has
909
- // been set.
910
- if (mWebViewClient == null) {
911
- return;
912
- }
+ // We need to send the message even if no WebViewClient is set, because we need to call
+ // WebView.onPageStarted().
+
913
// Performance probe
914
if (PERF_PROBE) {
915
mWebCoreThreadTime = SystemClock.currentThreadTimeMillis();
0 commit comments