Index: libadblockplus-android/src/org/adblockplus/libadblockplus/Subscription.java |
diff --git a/libadblockplus-android/src/org/adblockplus/libadblockplus/Subscription.java b/libadblockplus-android/src/org/adblockplus/libadblockplus/Subscription.java |
index d6627f8a51922d2f6fea9ee57237f9e694312a31..99e30ae800c912f96b57cb27665f386fa3b4b824 100644 |
--- a/libadblockplus-android/src/org/adblockplus/libadblockplus/Subscription.java |
+++ b/libadblockplus-android/src/org/adblockplus/libadblockplus/Subscription.java |
@@ -55,6 +55,11 @@ public final class Subscription extends JsValue |
return isUpdating(this.ptr); |
} |
+ public boolean isAcceptableAds() |
anton
2017/04/07 07:13:58
isn't used for now (we do filter out aa subscripti
|
+ { |
+ return isAcceptableAds(this.ptr); |
+ } |
+ |
@Override |
public int hashCode() |
{ |
@@ -85,4 +90,6 @@ public final class Subscription extends JsValue |
private final static native boolean isUpdating(long ptr); |
private final static native boolean operatorEquals(long ptr, long other); |
+ |
+ private final static native boolean isAcceptableAds(long ptr); |
} |