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

Unified Diff: adblock-android/src/org/adblockplus/libadblockplus/Platform.java

Issue 29908555: Issue 7035 - Update libadblockplus dependency (Closed) Base URL: git@github.com:adblockplus/libadblockplus-android.git@d150f08d5d72de8938c7ebbdccd9b0c4e06b4070
Patch Set: Issue 7035 - Update libadblockplus dependency Created Oct. 15, 2018, 9:53 a.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: adblock-android/src/org/adblockplus/libadblockplus/Platform.java
diff --git a/adblock-android/src/org/adblockplus/libadblockplus/Platform.java b/adblock-android/src/org/adblockplus/libadblockplus/Platform.java
index abc272409f5cae68324aa8c2ea4427f6bb79f8c8..a5677ceeb54689a45a9d8a4095a0d07646eb1aa4 100644
--- a/adblock-android/src/org/adblockplus/libadblockplus/Platform.java
+++ b/adblock-android/src/org/adblockplus/libadblockplus/Platform.java
@@ -75,6 +75,12 @@ public class Platform implements Disposable
return new FilterEngine(this.ptr);
}
+ public Updater getUpdater()
+ {
+ ensureUpdater(this.ptr);
+ return new Updater(this.ptr);
+ }
+
@Override
public void dispose()
{
@@ -109,5 +115,7 @@ public class Platform implements Disposable
private final static native void ensureFilterEngine(long ptr);
+ private final static native void ensureUpdater(long ptr);
+
private final static native void dtor(long ptr);
}

Powered by Google App Engine
This is Rietveld