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