Index: adblockplussbrowser/src/main/java/org/adblockplus/sbrowser/contentblocker/ContentBlockerContentProvider.java |
=================================================================== |
--- a/adblockplussbrowser/src/main/java/org/adblockplus/sbrowser/contentblocker/ContentBlockerContentProvider.java |
+++ b/adblockplussbrowser/src/main/java/org/adblockplus/sbrowser/contentblocker/ContentBlockerContentProvider.java |
@@ -23,7 +23,7 @@ |
import org.adblockplus.adblockplussbrowser.R; |
import org.adblockplus.sbrowser.contentblocker.engine.Engine; |
-import org.adblockplus.sbrowser.contentblocker.engine.EngineService; |
+import org.adblockplus.sbrowser.contentblocker.engine.EngineManager; |
import org.adblockplus.sbrowser.contentblocker.util.SharedPrefsUtils; |
import android.content.ContentProvider; |
@@ -82,8 +82,8 @@ |
public boolean onCreate() |
{ |
Log.i(TAG, "onCreate() called"); |
- getContext().startService(new Intent(getContext(), EngineService.class)); |
- Log.i(TAG, "Requested service startup"); |
+ EngineManager.getInstance().retrieveEngine(getContext(), null); |
+ Log.i(TAG, "Requested engine startup"); |
return true; |
} |