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 |
@@ -21,19 +21,19 @@ |
import java.util.HashMap; |
import java.util.List; |
import org.adblockplus.sbrowser.contentblocker.engine.DefaultSubscriptionInfo; |
import org.adblockplus.sbrowser.contentblocker.engine.Engine; |
import org.adblockplus.sbrowser.contentblocker.engine.EngineService; |
import org.adblockplus.sbrowser.contentblocker.engine.SubscriptionInfo; |
import org.adblockplus.adblockplussbrowser.R; |
+import org.adblockplus.sbrowser.contentblocker.preferences.MultilineCheckBoxPreference; |
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; |
@@ -107,17 +107,17 @@ |
final DefaultSubscriptionInfo info = engine.getDefaultSubscriptionInfoForUrl(sub.getUrl()); |
Integer resInt = URL_TO_RES_ID_MAP.get(sub.getUrl()); |
if (!(aaLink.equals(sub.getUrl()) || sub.getTitle().startsWith("__")) |
&& resInt != null |
&& (info == null || info.getPrefixes().isEmpty() || sub.getType() != SubscriptionInfo.Type.ADS)) |
{ |
- final CheckBoxPreference cbp = new CheckBoxPreference(this.getContext()); |
+ final MultilineCheckBoxPreference cbp = new MultilineCheckBoxPreference(this.getContext()); |
if (sub.isEnabled()) |
{ |
final StringBuilder sb = new StringBuilder(); |
sb.append(this.getContext().getString(R.string.last_update)); |
sb.append(' '); |
final long timestamp = sub.getLastUpdateTime(); |
if (timestamp > 0) |