Index: libadblockplus-android-webview/src/org/adblockplus/libadblockplus/android/webview/AdblockWebView.java |
diff --git a/libadblockplus-android-webview/src/org/adblockplus/libadblockplus/android/webview/AdblockWebView.java b/libadblockplus-android-webview/src/org/adblockplus/libadblockplus/android/webview/AdblockWebView.java |
index cf4f0cd23b032507579358ea73a1c194f71d43be..ac30d73a57aefe772e8202ecb7dbc8a433fea509 100644 |
--- a/libadblockplus-android-webview/src/org/adblockplus/libadblockplus/android/webview/AdblockWebView.java |
+++ b/libadblockplus-android-webview/src/org/adblockplus/libadblockplus/android/webview/AdblockWebView.java |
@@ -569,6 +569,13 @@ public class AdblockWebView extends WebView |
} |
} |
+ // workaround for the issue: https://issues.adblockplus.org/ticket/5303 |
+ if (newProgress == 100 && !allowDraw) |
+ { |
+ w("Workaround for the issue #5303"); |
+ stopPreventDrawing(); |
+ } |
+ |
if (extWebChromeClient != null) |
{ |
extWebChromeClient.onProgressChanged(view, newProgress); |