| Index: libadblockplus-android-webviewapp/src/org/adblockplus/libadblockplus/android/webviewapp/SettingsActivity.java |
| diff --git a/libadblockplus-android-webviewapp/src/org/adblockplus/libadblockplus/android/webviewapp/SettingsActivity.java b/libadblockplus-android-webviewapp/src/org/adblockplus/libadblockplus/android/webviewapp/SettingsActivity.java |
| index e5ae6099958d09478534f4b1264dadd2addf15ac..201830dcdb54a80cf4eda1436d3b2f33bd102460 100644 |
| --- a/libadblockplus-android-webviewapp/src/org/adblockplus/libadblockplus/android/webviewapp/SettingsActivity.java |
| +++ b/libadblockplus-android-webviewapp/src/org/adblockplus/libadblockplus/android/webviewapp/SettingsActivity.java |
| @@ -45,7 +45,7 @@ public class SettingsActivity |
| super.onCreate(savedInstanceState); |
| // retaining AdblockEngine asynchronously |
| - AdblockHelper.get().retain(true); |
| + AdblockHelper.get().getProvider().retain(true); |
| insertGeneralFragment(); |
| } |
| @@ -77,8 +77,8 @@ public class SettingsActivity |
| public AdblockEngine getAdblockEngine() |
| { |
| // if it's retained asynchronously we have to wait until it's ready |
| - AdblockHelper.get().waitForReady(); |
| - return AdblockHelper.get().getEngine(); |
| + AdblockHelper.get().getProvider().waitForReady(); |
| + return AdblockHelper.get().getProvider().getEngine(); |
| } |
| @Override |
| @@ -114,6 +114,6 @@ public class SettingsActivity |
| protected void onDestroy() |
| { |
| super.onDestroy(); |
| - AdblockHelper.get().release(); |
| + AdblockHelper.get().getProvider().release(); |
| } |
| } |