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