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

Unified Diff: adblockplussbrowser/src/org/adblockplus/sbrowser/contentblocker/engine/Subscriptions.java

Issue 29445587: Issue 5223 - App is freezing sometimes (Closed)
Patch Set: Added separate texts for adding/removing a subscription Created June 14, 2017, 3:19 p.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
« no previous file with comments | « adblockplussbrowser/src/org/adblockplus/sbrowser/contentblocker/engine/Engine.java ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: adblockplussbrowser/src/org/adblockplus/sbrowser/contentblocker/engine/Subscriptions.java
===================================================================
--- a/adblockplussbrowser/src/org/adblockplus/sbrowser/contentblocker/engine/Subscriptions.java
+++ b/adblockplussbrowser/src/org/adblockplus/sbrowser/contentblocker/engine/Subscriptions.java
@@ -114,16 +114,17 @@
{
sub.setEnabled(enabled);
sub.serializeMetaData(this.getMetaFile(sub));
if (enabled)
{
this.engine.enqueueDownload(sub, true);
}
+ this.engine.subscriptionStateChanged();
this.engine.requestUpdateBroadcast();
return true;
}
}
return false;
}
File getFiltersFile(final Subscription sub)
« no previous file with comments | « adblockplussbrowser/src/org/adblockplus/sbrowser/contentblocker/engine/Engine.java ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld