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: Removed unused import, cleaned up formatting." Created Feb. 17, 2015, 1:54 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..25afac1a4eebc3aa16d63e717e2ddc60294a68c5 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 getNotificationToShow(String url)
+ {
+ return this.filterEngine.getNotificationToShow(url);
+ }
+
+ public Notification getNotificationToShow()
+ {
+ return this.filterEngine.getNotificationToShow();
+ }
}

Powered by Google App Engine
This is Rietveld