Index: libadblockplus-android-settings/src/org/adblockplus/libadblockplus/android/settings/AdblockHelper.java |
diff --git a/libadblockplus-android-settings/src/org/adblockplus/libadblockplus/android/settings/AdblockHelper.java b/libadblockplus-android-settings/src/org/adblockplus/libadblockplus/android/settings/AdblockHelper.java |
index 01fda611982a2c601533861ad299113236913228..bb511a6fe6b4835f76ca265bd08c595cbc7d7f39 100644 |
--- a/libadblockplus-android-settings/src/org/adblockplus/libadblockplus/android/settings/AdblockHelper.java |
+++ b/libadblockplus-android-settings/src/org/adblockplus/libadblockplus/android/settings/AdblockHelper.java |
@@ -148,8 +148,8 @@ public class AdblockHelper |
private void initProvider(Context context, String basePath, boolean developmentBuild) |
{ |
provider = new SingleInstanceEngineProvider(context, basePath, developmentBuild); |
- provider.setEngineCreatedCallback(engineCreatedCallback); |
- provider.setEngineDisposedCallback(engineDisposedCallback); |
+ provider.addEngineCreatedCallback(engineCreatedCallback); |
+ provider.addEngineDisposedCallback(engineDisposedCallback); |
} |
private void initStorage(Context context, String settingsPreferenceName) |