Index: libadblockplus-android-webviewapp/src/org/adblockplus/libadblockplus/android/webviewapp/MainActivity.java |
diff --git a/libadblockplus-android-webviewapp/src/org/adblockplus/libadblockplus/android/webviewapp/MainActivity.java b/libadblockplus-android-webviewapp/src/org/adblockplus/libadblockplus/android/webviewapp/MainActivity.java |
index cdbb9f225a9141ddfa54ef75a566e0c83ad8544d..73f9711b3c42108928b7c10bac8031f39ee62d4b 100644 |
--- a/libadblockplus-android-webviewapp/src/org/adblockplus/libadblockplus/android/webviewapp/MainActivity.java |
+++ b/libadblockplus-android-webviewapp/src/org/adblockplus/libadblockplus/android/webviewapp/MainActivity.java |
@@ -38,7 +38,7 @@ public class MainActivity extends Activity |
public static final boolean DEVELOPMENT_BUILD = true; |
// webView can create AdblockEngine instance itself if not passed with `webView.setAdblockEngine()` |
- public static final boolean USE_EXTERNAL_ADBLOCKENGINE = false; |
+ public static final boolean USE_EXTERNAL_ADBLOCKENGINE = true; |
private ProgressBar progress; |
private EditText url; |
@@ -199,7 +199,7 @@ public class MainActivity extends Activity |
if (USE_EXTERNAL_ADBLOCKENGINE) |
{ |
// external AdblockEngine |
- webView.setAdblockEngineProvider(AdblockHelper.get().getAdblockEngineProvider()); |
+ webView.setProvider(AdblockHelper.get().getProvider()); |
} |
else |
{ |