Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 0a20d6a4 authored by Steve Block's avatar Steve Block Committed by Android (Google) Code Review
Browse files

Merge "Always call WebView.onPageStarted(), regardless of whether a WebViewClient has been set"

parents 87e12b05 a0d767c8
Loading
Loading
Loading
Loading
+3 −5
Original line number Diff line number Diff line
@@ -905,11 +905,9 @@ class CallbackProxy extends Handler {
    */

    public void onPageStarted(String url, Bitmap favicon) {
        // Do an unsynchronized quick check to avoid posting if no callback has
        // been set.
        if (mWebViewClient == null) {
            return;
        }
        // We need to send the message even if no WebViewClient is set, because we need to call
        // WebView.onPageStarted().

        // Performance probe
        if (PERF_PROBE) {
            mWebCoreThreadTime = SystemClock.currentThreadTimeMillis();