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

Issue 5327480814567424: Issue 1108 - Support notifications (Closed)

Created:
Jan. 30, 2015, 12:44 p.m. by René Jeschke
Modified:
Feb. 18, 2015, 4:48 p.m.
Reviewers:
Felix Dahlke
Visibility:
Public.

Description

Issue 1108 - Support notifications

Patch Set 1 #

Patch Set 2 : Show Android notifications #

Patch Set 3 : Removed unused import, cleaned up formatting." #

Total comments: 22

Patch Set 4 : Local_refs, naming, nits. #

Patch Set 5 : getNextNotificationToShow #

Patch Set 6 : More renaming. #

Patch Set 7 : Removed markAsShown() #

Total comments: 6

Patch Set 8 : Even more renaming, ignore INVALID/QUESTION #

Total comments: 2

Patch Set 9 : Only one Notification displayed now #

Unified diffs Side-by-side diffs Delta from patch set Stats (+378 lines, -65 lines) Patch
M jni/Android.mk View 1 chunk +1 line, -0 lines 0 comments Download
M jni/JniFilterEngine.cpp View 1 2 3 2 chunks +15 lines, -0 lines 0 comments Download
A jni/JniNotification.cpp View 1 2 3 1 chunk +106 lines, -0 lines 0 comments Download
M jni/Utils.h View 1 2 chunks +6 lines, -25 lines 0 comments Download
M jni/Utils.cpp View 1 1 chunk +36 lines, -0 lines 0 comments Download
M src/org/adblockplus/android/ABPEngine.java View 1 2 3 2 chunks +11 lines, -0 lines 0 comments Download
M src/org/adblockplus/android/AdblockPlus.java View 1 2 3 4 5 6 7 8 3 chunks +22 lines, -0 lines 0 comments Download
M src/org/adblockplus/android/CrashHandler.java View 1 1 chunk +1 line, -1 line 0 comments Download
M src/org/adblockplus/android/ProxyService.java View 1 2 3 4 5 6 7 8 9 chunks +128 lines, -6 lines 0 comments Download
M src/org/adblockplus/android/Utils.java View 1 1 chunk +1 line, -2 lines 0 comments Download
M src/org/adblockplus/android/updater/UpdaterService.java View 1 5 chunks +5 lines, -5 lines 0 comments Download
M src/org/adblockplus/libadblockplus/FilterEngine.java View 1 2 3 2 chunks +12 lines, -0 lines 0 comments Download
A + src/org/adblockplus/libadblockplus/Notification.java View 1 chunk +34 lines, -26 lines 0 comments Download

Messages

Total messages: 10
René Jeschke
There are two changes included, that might be considered unrelated but are crucial in my ...
Feb. 17, 2015, 1:59 p.m. (2015-02-17 13:59:26 UTC) #1
Felix Dahlke
Looks good all in all, doesn't make sense to me to separate the refactorings necessary ...
Feb. 18, 2015, 12:49 p.m. (2015-02-18 12:49:56 UTC) #2
René Jeschke
http://codereview.adblockplus.org/5327480814567424/diff/5724160613416960/jni/JniFilterEngine.cpp File jni/JniFilterEngine.cpp (right): http://codereview.adblockplus.org/5327480814567424/diff/5724160613416960/jni/JniFilterEngine.cpp#newcode121 jni/JniFilterEngine.cpp:121: static jobject JNICALL JniGetNotificationToShow(JNIEnv* env, jclass clazz, jlong ptr, ...
Feb. 18, 2015, 1:13 p.m. (2015-02-18 13:13:01 UTC) #3
Felix Dahlke
http://codereview.adblockplus.org/5327480814567424/diff/5724160613416960/src/org/adblockplus/android/ProxyService.java File src/org/adblockplus/android/ProxyService.java (right): http://codereview.adblockplus.org/5327480814567424/diff/5724160613416960/src/org/adblockplus/android/ProxyService.java#newcode625 src/org/adblockplus/android/ProxyService.java:625: private static class NotificationWatcher implements Runnable On 2015/02/18 13:13:02, ...
Feb. 18, 2015, 2:10 p.m. (2015-02-18 14:10:07 UTC) #4
René Jeschke
http://codereview.adblockplus.org/5327480814567424/diff/5724160613416960/src/org/adblockplus/android/ProxyService.java File src/org/adblockplus/android/ProxyService.java (right): http://codereview.adblockplus.org/5327480814567424/diff/5724160613416960/src/org/adblockplus/android/ProxyService.java#newcode631 src/org/adblockplus/android/ProxyService.java:631: private final int firstPollInterval; On 2015/02/18 14:10:07, Felix H. ...
Feb. 18, 2015, 2:45 p.m. (2015-02-18 14:45:20 UTC) #5
Felix Dahlke
http://codereview.adblockplus.org/5327480814567424/diff/5724160613416960/src/org/adblockplus/android/ProxyService.java File src/org/adblockplus/android/ProxyService.java (right): http://codereview.adblockplus.org/5327480814567424/diff/5724160613416960/src/org/adblockplus/android/ProxyService.java#newcode685 src/org/adblockplus/android/ProxyService.java:685: while (notification != null) On 2015/02/18 14:45:20, René Jeschke ...
Feb. 18, 2015, 2:55 p.m. (2015-02-18 14:55:04 UTC) #6
René Jeschke
http://codereview.adblockplus.org/5327480814567424/diff/5718998062727168/src/org/adblockplus/android/ProxyService.java File src/org/adblockplus/android/ProxyService.java (right): http://codereview.adblockplus.org/5327480814567424/diff/5718998062727168/src/org/adblockplus/android/ProxyService.java#newcode628 src/org/adblockplus/android/ProxyService.java:628: public static final int DEFAULT_POLL_INTERVALS = 0; /* seconds ...
Feb. 18, 2015, 3:01 p.m. (2015-02-18 15:01:25 UTC) #7
Felix Dahlke
http://codereview.adblockplus.org/5327480814567424/diff/5110435556622336/src/org/adblockplus/android/ProxyService.java File src/org/adblockplus/android/ProxyService.java (right): http://codereview.adblockplus.org/5327480814567424/diff/5110435556622336/src/org/adblockplus/android/ProxyService.java#newcode699 src/org/adblockplus/android/ProxyService.java:699: idx++; We don't really need the index. More importantly, ...
Feb. 18, 2015, 3:36 p.m. (2015-02-18 15:36:55 UTC) #8
René Jeschke
http://codereview.adblockplus.org/5327480814567424/diff/5110435556622336/src/org/adblockplus/android/ProxyService.java File src/org/adblockplus/android/ProxyService.java (right): http://codereview.adblockplus.org/5327480814567424/diff/5110435556622336/src/org/adblockplus/android/ProxyService.java#newcode699 src/org/adblockplus/android/ProxyService.java:699: idx++; On 2015/02/18 15:36:55, Felix H. Dahlke wrote: > ...
Feb. 18, 2015, 3:42 p.m. (2015-02-18 15:42:58 UTC) #9
Felix Dahlke
Feb. 18, 2015, 4:06 p.m. (2015-02-18 16:06:45 UTC) #10
LGTM

Powered by Google App Engine
This is Rietveld