Index: adblockplussbrowser/src/org/adblockplus/sbrowser/contentblocker/ListedSubscriptionsPreferenceCategory.java |
=================================================================== |
--- a/adblockplussbrowser/src/org/adblockplus/sbrowser/contentblocker/ListedSubscriptionsPreferenceCategory.java |
+++ b/adblockplussbrowser/src/org/adblockplus/sbrowser/contentblocker/ListedSubscriptionsPreferenceCategory.java |
@@ -186,15 +186,15 @@ public class ListedSubscriptionsPreferen |
} |
} |
} |
@Override |
public boolean onPreferenceChange(final Preference preference, final Object newValue) |
{ |
final String id = preference.getKey(); |
- final boolean enabled = ((Boolean) newValue).booleanValue(); |
+ final boolean enabled = (Boolean) newValue; |
this.engine.changeSubscriptionState(id, enabled); |
return true; |
} |
} |