Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Delta Between Two Patch Sets: mobile/android/base/java/org/adblockplus/browser/MoreSubscriptionsPreferenceGroup.java

Issue 29863604: Issue 6865 - Update ABP dependency to version 3.2 (Closed)
Left Patch Set: Removing patch file Created Aug. 24, 2018, 8:41 p.m.
Right Patch Set: Adjusting code style Created Jan. 16, 2019, 1:45 p.m.
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
Left: Side by side diff | Download
Right: Side by side diff | Download
LEFTRIGHT
1 /* 1 /*
2 * This file is part of Adblock Plus <https://adblockplus.org/>, 2 * This file is part of Adblock Plus <https://adblockplus.org/>,
3 * Copyright (C) 2006-present eyeo GmbH 3 * Copyright (C) 2006-present eyeo GmbH
4 * 4 *
5 * Adblock Plus is free software: you can redistribute it and/or modify 5 * Adblock Plus is free software: you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License version 3 as 6 * it under the terms of the GNU General Public License version 3 as
7 * published by the Free Software Foundation. 7 * published by the Free Software Foundation.
8 * 8 *
9 * Adblock Plus is distributed in the hope that it will be useful, 9 * Adblock Plus is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of 10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after
75 static 75 static
76 { 76 {
77 for (int i = 0; i < BUILTIN_TITLES.length; i++) 77 for (int i = 0; i < BUILTIN_TITLES.length; i++)
78 { 78 {
79 BUILTIN_URL_TO_INDEX.put(BUILTIN_LISTS[i * 2 + 1], Integer.valueOf(i)); 79 BUILTIN_URL_TO_INDEX.put(BUILTIN_LISTS[i * 2 + 1], Integer.valueOf(i));
80 } 80 }
81 81
82 IGNORED_URLS.add("https://easylist-downloads.adblockplus.org/exceptionrules. txt"); 82 IGNORED_URLS.add("https://easylist-downloads.adblockplus.org/exceptionrules. txt");
83 } 83 }
84 84
85 private synchronized static void initRecommendedSubscriptions(Context context) 85 private synchronized static void initRecommendedSubscriptions(final Context co ntext)
86 { 86 {
87 if (recommendedSubscriptions == null) 87 if (recommendedSubscriptions == null)
88 { 88 {
89 recommendedSubscriptions = SubscriptionContainer.create(context, false); 89 recommendedSubscriptions = SubscriptionContainer.create(context, false);
90 90
91 for (SubscriptionContainer.Subscription s : recommendedSubscriptions.getSu bscriptions(false)) 91 for (SubscriptionContainer.Subscription s : recommendedSubscriptions.getSu bscriptions(false))
92 { 92 {
93 IGNORED_URLS.add(s.url); 93 IGNORED_URLS.add(s.url);
94 } 94 }
95 } 95 }
(...skipping 250 matching lines...) Expand 10 before | Expand all | Expand 10 after
346 // ignored 346 // ignored
347 } 347 }
348 348
349 @Override 349 @Override
350 public void onApiRequestFailed(String errorMessage) 350 public void onApiRequestFailed(String errorMessage)
351 { 351 {
352 // ignored 352 // ignored
353 } 353 }
354 } 354 }
355 } 355 }
LEFTRIGHT

Powered by Google App Engine
This is Rietveld