LEFT | RIGHT |
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 Loading... |
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 } |
LEFT | RIGHT |