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

Unified Diff: mobile/android/base/GeckoApplication.java

Issue 29350065: Issue 2853 - Settings changes are sometimes not saved if the user quits the app (Closed)
Patch Set: Adjusting spacing and also adding code change comment Created Nov. 2, 2016, 11:28 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: mobile/android/base/GeckoApplication.java
===================================================================
--- a/mobile/android/base/GeckoApplication.java
+++ b/mobile/android/base/GeckoApplication.java
@@ -147,16 +147,20 @@ public class GeckoApplication extends Ap
public BrowserDB get(String profileName, File profileDir) {
// Note that we don't use the profile directory -- we
// send operations to the ContentProvider, which does
// its own thing.
return new LocalBrowserDB(profileName);
}
});
+ // Added AddOnBridge initialisation here for syncing requests that might not have been saved by filter storage
+ // See https://issues.adblockplus.org/ticket/2853
+ org.adblockplus.browser.AddOnBridge.init(context);
+
super.onCreate();
}
public boolean isApplicationInBackground() {
return mInBackground;
}
public LightweightTheme getLightweightTheme() {

Powered by Google App Engine
This is Rietveld