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: Fixed formatting and set dialog = null Created June 26, 2017, 2:04 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
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 @@ final class Subscriptions
{
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)

Powered by Google App Engine
This is Rietveld