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

Unified Diff: src/org/adblockplus/sbrowser/contentblocker/ListedSubscriptionsPreferenceCategory.java

Issue 29341124: Issue 4029 - SharedPreference related crash on filter list fetch (Closed)
Patch Set: Created May 10, 2016, 12:15 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: src/org/adblockplus/sbrowser/contentblocker/ListedSubscriptionsPreferenceCategory.java
diff --git a/src/org/adblockplus/sbrowser/contentblocker/ListedSubscriptionsPreferenceCategory.java b/src/org/adblockplus/sbrowser/contentblocker/ListedSubscriptionsPreferenceCategory.java
index 7bb76c1f8c23860d56fdb5d56051fbc815ae694c..7c61761ec3643c495ae6c750e7496dc9eb36a6dc 100644
--- a/src/org/adblockplus/sbrowser/contentblocker/ListedSubscriptionsPreferenceCategory.java
+++ b/src/org/adblockplus/sbrowser/contentblocker/ListedSubscriptionsPreferenceCategory.java
@@ -81,7 +81,7 @@ public class ListedSubscriptionsPreferenceCategory extends PreferenceCategory im
@Override
protected void onAttachedToActivity()
{
- EngineService.startService(this.getContext(), this);
+ EngineService.startService(this.getContext().getApplicationContext(), this);
super.onAttachedToActivity();
}

Powered by Google App Engine
This is Rietveld