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

Commit 12c4c0e4 authored by John Reck's avatar John Reck Committed by Gerrit Code Review
Browse files

Merge "Fix deadlock of WebViewCoreThread"

parents 3e7d0344 dae43b16
Loading
Loading
Loading
Loading
+6 −1
Original line number Diff line number Diff line
@@ -305,7 +305,12 @@ class CallbackProxy extends Handler {
        // in the UI thread. The WebViewClient and WebChromeClient functions
        // that check for a non-null callback are ok because java ensures atomic
        // 32-bit reads and writes.
        if (messagesBlocked()) return;
        if (messagesBlocked()) {
            synchronized (this) {
                notify();
            }
            return;
        }
        switch (msg.what) {
            case PAGE_STARTED:
                String startedUrl = msg.getData().getString("url");