Index: libadblockplus-android/src/org/adblockplus/libadblockplus/android/AdblockEngine.java |
diff --git a/libadblockplus-android/src/org/adblockplus/libadblockplus/android/AdblockEngine.java b/libadblockplus-android/src/org/adblockplus/libadblockplus/android/AdblockEngine.java |
index 8bdebb9c6de033e05ff69ddac0953e5243b2ce92..9dbd9c358060125a4d9490fc9b9da42ce6cdf6be 100644 |
--- a/libadblockplus-android/src/org/adblockplus/libadblockplus/android/AdblockEngine.java |
+++ b/libadblockplus-android/src/org/adblockplus/libadblockplus/android/AdblockEngine.java |
@@ -253,14 +253,12 @@ public final class AdblockEngine |
private void createEngines() |
{ |
- engine.jsEngine = new JsEngine(appInfo); |
+ engine.logSystem = new AndroidLogSystem(); |
+ engine.jsEngine = new JsEngine(appInfo, engine.logSystem); |
engine.jsEngine.setDefaultFileSystem(basePath); |
engine.jsEngine.setWebRequest(engine.webRequest); |
- engine.logSystem = new AndroidLogSystem(); |
- engine.jsEngine.setLogSystem(engine.logSystem); |
- |
engine.filterEngine = new FilterEngine(engine.jsEngine, isAllowedConnectionCallback); |
} |
} |