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

Unified Diff: libadblockplus-android-settings/src/org/adblockplus/libadblockplus/android/settings/AdblockHelper.java

Issue 29678590: Issue 6307 - Introduce external engine created callback (Closed)
Patch Set: Created Jan. 24, 2018, 12:46 p.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-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)

Powered by Google App Engine
This is Rietveld