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: Renaming 'uncompleted' to 'pending' Created Jan. 31, 2017, 8 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 | « adblockplus/Api.jsm ('k') | mobile/android/thirdparty/org/adblockplus/browser/AddOnBridge.java » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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() {
« no previous file with comments | « adblockplus/Api.jsm ('k') | mobile/android/thirdparty/org/adblockplus/browser/AddOnBridge.java » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld