Index: adblockplussbrowser/src/org/adblockplus/sbrowser/contentblocker/MoreBlockingPreferenceCategory.java |
=================================================================== |
--- a/adblockplussbrowser/src/org/adblockplus/sbrowser/contentblocker/MoreBlockingPreferenceCategory.java |
+++ b/adblockplussbrowser/src/org/adblockplus/sbrowser/contentblocker/MoreBlockingPreferenceCategory.java |
@@ -29,18 +29,16 @@ import org.adblockplus.adblockplussbrows |
import android.content.Context; |
import android.preference.CheckBoxPreference; |
import android.preference.Preference; |
import android.preference.PreferenceCategory; |
import android.preference.Preference.OnPreferenceChangeListener; |
import android.text.format.DateUtils; |
import android.util.AttributeSet; |
-import android.view.View; |
-import android.view.ViewGroup; |
public class MoreBlockingPreferenceCategory extends PreferenceCategory implements |
EngineService.OnEngineCreatedCallback, OnPreferenceChangeListener |
{ |
private Engine engine = null; |
private static final int[] WHITELISTED_LIST_TITLES = |
{ |
R.string.subscription_disable_tracking, |
@@ -73,22 +71,16 @@ public class MoreBlockingPreferenceCateg |
} |
public MoreBlockingPreferenceCategory(final Context context, final AttributeSet attrs) |
{ |
super(context, attrs); |
} |
@Override |
- protected View onCreateView(final ViewGroup parent) |
- { |
- return super.onCreateView(parent); |
- } |
- |
- @Override |
protected void onAttachedToActivity() |
{ |
EngineService.startService(this.getContext().getApplicationContext(), this); |
super.onAttachedToActivity(); |
} |
@Override |
public void onEngineCreated(final Engine engine, final boolean success) |