Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Unified Diff: libadblockplus-android-webview/src/org/adblockplus/libadblockplus/android/webview/AdblockWebView.java

Issue 29459555: Issue 5303 - White screen instead of webpage is shown (Closed)
Patch Set: Created June 8, 2017, 6:28 a.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « libadblockplus-android-webview/pom.xml ('k') | libadblockplus-android-webviewapp/build.gradle » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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);
« no previous file with comments | « libadblockplus-android-webview/pom.xml ('k') | libadblockplus-android-webviewapp/build.gradle » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld