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: Removing now unused getFiltersLoaded Created Dec. 28, 2016, 2: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: mobile/android/base/GeckoApplication.java
===================================================================
--- a/mobile/android/base/GeckoApplication.java
+++ b/mobile/android/base/GeckoApplication.java
@@ -147,16 +147,21 @@ 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 resending requests that for some reason,
+ // couldn't be saved by the extension
+ // 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