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); |
} |