| 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() { |