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

Issue 29389555: Issue 5010 - Allow to preload subscription files (Closed)

Created:
March 20, 2017, 8:11 a.m. by anton
Modified:
March 30, 2017, 10:18 p.m.
CC:
vicky, René Jeschke
Visibility:
Public.

Description

Issue 5010 - Allow to preload subscription files

Patch Set 1 #

Total comments: 27

Patch Set 2 : diego's comments #

Total comments: 5

Patch Set 3 : diego's suggestions 2 #

Patch Set 4 : one more URLto.. fix #

Total comments: 1

Patch Set 5 : fixed typo, now using official aa file #

Patch Set 6 : force downloading actually #

Total comments: 1

Messages

Total messages: 11
anton
https://codereview.adblockplus.org/29389555/diff/29389556/libadblockplus-android-tests/build.gradle File libadblockplus-android-tests/build.gradle (right): https://codereview.adblockplus.org/29389555/diff/29389556/libadblockplus-android-tests/build.gradle#newcode21 libadblockplus-android-tests/build.gradle:21: minSdkVersion 11 It's because of libadblockplus-android min version increased ...
March 20, 2017, 8:28 a.m. (2017-03-20 08:28:46 UTC) #1
anton
https://codereview.adblockplus.org/29389555/diff/29389556/libadblockplus-android-webviewapp/res/raw/easylist_min.txt File libadblockplus-android-webviewapp/res/raw/easylist_min.txt (right): https://codereview.adblockplus.org/29389555/diff/29389556/libadblockplus-android-webviewapp/res/raw/easylist_min.txt#newcode1 libadblockplus-android-webviewapp/res/raw/easylist_min.txt:1: [Adblock Plus 2.0] Also it should be discussed where ...
March 20, 2017, 8:32 a.m. (2017-03-20 08:32:23 UTC) #2
diegocarloslima
https://codereview.adblockplus.org/29389555/diff/29389556/libadblockplus-android-webviewapp/res/raw/easylist_min.txt File libadblockplus-android-webviewapp/res/raw/easylist_min.txt (right): https://codereview.adblockplus.org/29389555/diff/29389556/libadblockplus-android-webviewapp/res/raw/easylist_min.txt#newcode1 libadblockplus-android-webviewapp/res/raw/easylist_min.txt:1: [Adblock Plus 2.0] On 2017/03/20 08:28:45, anton wrote: > ...
March 20, 2017, 3:13 p.m. (2017-03-20 15:13:12 UTC) #3
anton
https://codereview.adblockplus.org/29389555/diff/29389556/libadblockplus-android-webviewapp/res/raw/easylist_min.txt File libadblockplus-android-webviewapp/res/raw/easylist_min.txt (right): https://codereview.adblockplus.org/29389555/diff/29389556/libadblockplus-android-webviewapp/res/raw/easylist_min.txt#newcode1 libadblockplus-android-webviewapp/res/raw/easylist_min.txt:1: [Adblock Plus 2.0] On 2017/03/20 15:13:12, diegocarloslima wrote: > ...
March 21, 2017, 5:54 a.m. (2017-03-21 05:54:47 UTC) #4
diegocarloslima
https://codereview.adblockplus.org/29389555/diff/29389556/libadblockplus-android-settings/src/org/adblockplus/libadblockplus/android/settings/AdblockHelper.java File libadblockplus-android-settings/src/org/adblockplus/libadblockplus/android/settings/AdblockHelper.java (right): https://codereview.adblockplus.org/29389555/diff/29389556/libadblockplus-android-settings/src/org/adblockplus/libadblockplus/android/settings/AdblockHelper.java#newcode42 libadblockplus-android-settings/src/org/adblockplus/libadblockplus/android/settings/AdblockHelper.java:42: public static final String BASE_PATH_DIRECTORY = "adblock"; I would ...
March 28, 2017, 1:47 p.m. (2017-03-28 13:47:15 UTC) #5
anton
https://codereview.adblockplus.org/29389555/diff/29389556/libadblockplus-android-settings/src/org/adblockplus/libadblockplus/android/settings/AdblockHelper.java File libadblockplus-android-settings/src/org/adblockplus/libadblockplus/android/settings/AdblockHelper.java (right): https://codereview.adblockplus.org/29389555/diff/29389556/libadblockplus-android-settings/src/org/adblockplus/libadblockplus/android/settings/AdblockHelper.java#newcode42 libadblockplus-android-settings/src/org/adblockplus/libadblockplus/android/settings/AdblockHelper.java:42: public static final String BASE_PATH_DIRECTORY = "adblock"; On 2017/03/28 ...
March 28, 2017, 1:59 p.m. (2017-03-28 13:59:06 UTC) #6
diegocarloslima
https://codereview.adblockplus.org/29389555/diff/29396622/libadblockplus-android/src/org/adblockplus/libadblockplus/android/AdblockEngine.java File libadblockplus-android/src/org/adblockplus/libadblockplus/android/AdblockEngine.java (right): https://codereview.adblockplus.org/29389555/diff/29396622/libadblockplus-android/src/org/adblockplus/libadblockplus/android/AdblockEngine.java#newcode237 libadblockplus-android/src/org/adblockplus/libadblockplus/android/AdblockEngine.java:237: new AndroidWebRequestResourceWrapper.Listener() Since this member variable never changes, you ...
March 30, 2017, 9:42 a.m. (2017-03-30 09:42:07 UTC) #7
anton
https://codereview.adblockplus.org/29389555/diff/29396622/libadblockplus-android/src/org/adblockplus/libadblockplus/android/AdblockEngine.java File libadblockplus-android/src/org/adblockplus/libadblockplus/android/AdblockEngine.java (right): https://codereview.adblockplus.org/29389555/diff/29396622/libadblockplus-android/src/org/adblockplus/libadblockplus/android/AdblockEngine.java#newcode237 libadblockplus-android/src/org/adblockplus/libadblockplus/android/AdblockEngine.java:237: new AndroidWebRequestResourceWrapper.Listener() On 2017/03/30 09:42:07, diegocarloslima wrote: > Since ...
March 30, 2017, 10:27 a.m. (2017-03-30 10:27:17 UTC) #8
diegocarloslima
On 2017/03/30 10:27:17, anton wrote: > https://codereview.adblockplus.org/29389555/diff/29396622/libadblockplus-android/src/org/adblockplus/libadblockplus/android/AdblockEngine.java > File > libadblockplus-android/src/org/adblockplus/libadblockplus/android/AdblockEngine.java > (right): > > ...
March 30, 2017, 10:31 a.m. (2017-03-30 10:31:54 UTC) #9
Felix Dahlke
Only had a high level look to not delay things, but LGTM. Would be great ...
March 30, 2017, 2:15 p.m. (2017-03-30 14:15:06 UTC) #10
sergei
March 30, 2017, 10:14 p.m. (2017-03-30 22:14:37 UTC) #11
fix in Patch set #6 LGTM.

https://codereview.adblockplus.org/29389555/diff/29398800/libadblockplus-andr...
File
libadblockplus-android/src/org/adblockplus/libadblockplus/android/AdblockEngine.java
(right):

https://codereview.adblockplus.org/29389555/diff/29398800/libadblockplus-andr...
libadblockplus-android/src/org/adblockplus/libadblockplus/android/AdblockEngine.java:251:
for (Subscription eachSubscription : subscriptions)
Nit: I would remove "each".

Powered by Google App Engine
This is Rietveld