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

Unified Diff: src/org/adblockplus/android/ABPEngine.java

Issue 5327480814567424: Issue 1108 - Support notifications (Closed)
Patch Set: Even more renaming, ignore INVALID/QUESTION Created Feb. 18, 2015, 3 p.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: src/org/adblockplus/android/ABPEngine.java
diff --git a/src/org/adblockplus/android/ABPEngine.java b/src/org/adblockplus/android/ABPEngine.java
index 4ee210499316716ea32769af09cf73147e74297d..0eb5a41dd983ca542063dc070e50f22dd336526e 100644
--- a/src/org/adblockplus/android/ABPEngine.java
+++ b/src/org/adblockplus/android/ABPEngine.java
@@ -27,6 +27,7 @@ import org.adblockplus.libadblockplus.FilterEngine;
import org.adblockplus.libadblockplus.FilterEngine.ContentType;
import org.adblockplus.libadblockplus.JsEngine;
import org.adblockplus.libadblockplus.LogSystem;
+import org.adblockplus.libadblockplus.Notification;
import org.adblockplus.libadblockplus.Subscription;
import org.adblockplus.libadblockplus.UpdateAvailableCallback;
import org.adblockplus.libadblockplus.UpdateCheckDoneCallback;
@@ -280,4 +281,14 @@ public final class ABPEngine
Utils.updateSubscriptionStatus(this.context, sub);
}
}
+
+ public Notification getNextNotificationToShow(String url)
+ {
+ return this.filterEngine.getNextNotificationToShow(url);
+ }
+
+ public Notification getNextNotificationToShow()
+ {
+ return this.filterEngine.getNextNotificationToShow();
+ }
}

Powered by Google App Engine
This is Rietveld