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 29379647: Issue 4948 - add possibility to not send data depending on connection properties (Closed)
Patch Set: updated to 4931 code review patch set 3 and later Created March 21, 2017, 10: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
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 cac1ec3163b97f07a5ab7faa7614e3b8740f1d82..8edb7cafff4b273e4d61eb40e88becdfdd03af49 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
@@ -957,7 +957,9 @@ public class AdblockWebView extends WebView
adblockEngine = AdblockEngine.create(
AdblockEngine.generateAppInfo(this.getContext(), debugMode),
this.getContext().getCacheDir().getAbsolutePath(),
- true);
+ true,
+ null // `null` IsAllowedConnectionCallback reference allows all connection types
+ );
}
private class ElemHideThread extends Thread

Powered by Google App Engine
This is Rietveld