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

Delta Between Two Patch Sets: src/org/adblockplus/android/ABPEngine.java

Issue 5327480814567424: Issue 1108 - Support notifications (Closed)
Left Patch Set: Show Android notifications Created Feb. 17, 2015, 1:51 p.m.
Right Patch Set: Only one Notification displayed now Created Feb. 18, 2015, 3:42 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
« no previous file with change/comment | « jni/Utils.cpp ('k') | src/org/adblockplus/android/AdblockPlus.java » ('j') | no next file with change/comment »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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-2015 Eyeo GmbH 3 * Copyright (C) 2006-2015 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 264 matching lines...) Expand 10 before | Expand all | Expand 10 after
275 275
276 public void updateSubscriptionStatus(final String url) 276 public void updateSubscriptionStatus(final String url)
277 { 277 {
278 final Subscription sub = this.filterEngine.getSubscription(url); 278 final Subscription sub = this.filterEngine.getSubscription(url);
279 if (sub != null) 279 if (sub != null)
280 { 280 {
281 Utils.updateSubscriptionStatus(this.context, sub); 281 Utils.updateSubscriptionStatus(this.context, sub);
282 } 282 }
283 } 283 }
284 284
285 public Notification getNotificationToShow(String url) 285 public Notification getNextNotificationToShow(String url)
286 { 286 {
287 return this.filterEngine.getNotificationToShow(url); 287 return this.filterEngine.getNextNotificationToShow(url);
288 } 288 }
289 289
290 public Notification getNotificationToShow() 290 public Notification getNextNotificationToShow()
291 { 291 {
292 return this.filterEngine.getNotificationToShow(); 292 return this.filterEngine.getNextNotificationToShow();
293 } 293 }
294 } 294 }
LEFTRIGHT

Powered by Google App Engine
This is Rietveld