Update with new hosts file

This commit is contained in:
Anthony Restaino 2015-01-29 21:54:04 -05:00
parent 7e23135824
commit 17afd700d8
2 changed files with 6553 additions and 385 deletions

File diff suppressed because it is too large Load Diff

View File

@ -17,15 +17,10 @@ import java.util.Set;
public class AdBlock { public class AdBlock {
private static final String TAG = "AdBlock"; private static final String TAG = "AdBlock";
private static final String BLOCKED_DOMAINS_LIST_FILE_NAME = "hosts.txt"; private static final String BLOCKED_DOMAINS_LIST_FILE_NAME = "hosts.txt";
private static final Set<String> mBlockedDomainsList = new HashSet<String>(); private static final Set<String> mBlockedDomainsList = new HashSet<String>();
private SharedPreferences mPreferences; private SharedPreferences mPreferences;
private boolean mBlockAds; private boolean mBlockAds;
private static final Locale mLocale = Locale.getDefault(); private static final Locale mLocale = Locale.getDefault();
public AdBlock(Context context) { public AdBlock(Context context) {