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

Unified Diff: libadblockplus-android-webview/src/org/adblockplus/libadblockplus/android/webview/AdblockWebView.java

Issue 29435570: Issue 5205 - Add Subscription.isDisabled() (Closed)
Patch Set: removed casting Created May 22, 2017, 11:33 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: libadblockplus-android-webview/src/org/adblockplus/libadblockplus/android/webview/AdblockWebView.java
diff --git a/libadblockplus-android-webview/src/org/adblockplus/libadblockplus/android/webview/AdblockWebView.java b/libadblockplus-android-webview/src/org/adblockplus/libadblockplus/android/webview/AdblockWebView.java
index 72b86c8ca3f11f6d7a2067a2b9a47dfe29d4e06a..cf4f0cd23b032507579358ea73a1c194f71d43be 100644
--- a/libadblockplus-android-webview/src/org/adblockplus/libadblockplus/android/webview/AdblockWebView.java
+++ b/libadblockplus-android-webview/src/org/adblockplus/libadblockplus/android/webview/AdblockWebView.java
@@ -999,7 +999,9 @@ public class AdblockWebView extends WebView
{
for (Subscription eachSubscription : subscriptions)
{
- d("Subscribed to " + eachSubscription);
+ d("Subscribed to "
+ + (eachSubscription.isDisabled() ? "disabled" : "enabled")
+ + " " + eachSubscription);
}
}
}

Powered by Google App Engine
This is Rietveld