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 93266419b5571818094988c5c5255b6678fe54e6..fa7012b1996d4057fc768042507f6b5391a32171 100644 |
--- a/libadblockplus-android/src/org/adblockplus/libadblockplus/Subscription.java |
+++ b/libadblockplus-android/src/org/adblockplus/libadblockplus/Subscription.java |
@@ -30,6 +30,16 @@ public final class Subscription extends JsValue |
super(ptr); |
} |
+ public boolean isDisabled() |
+ { |
+ return isDisabled(this.ptr); |
+ } |
+ |
+ public void setDisabled(boolean disabled) |
+ { |
+ setDisabled(this.ptr, disabled); |
+ } |
+ |
public boolean isListed() |
{ |
return isListed(this.ptr); |
@@ -79,6 +89,10 @@ public final class Subscription extends JsValue |
private final static native void registerNatives(); |
+ private final static native boolean isDisabled(long ptr); |
+ |
+ private final static native void setDisabled(long ptr, boolean disabled); |
+ |
private final static native boolean isListed(long ptr); |
private final static native void addToList(long ptr); |