Index: mobile/android/app/mobile.js |
=================================================================== |
--- a/mobile/android/app/mobile.js |
+++ b/mobile/android/app/mobile.js |
@@ -521,7 +521,11 @@ |
// used by update service to decide whether or not to |
// automatically download an update |
pref("app.update.autodownload", "wifi"); |
+#ifdef ABB_RELEASE_BUILD |
+pref("app.update.url.android", "https://update.adblockplus.org/adblockbrowser/updates.xml?addonName=adblockbrowser&addonVersion=%VERSION%.%BUILD_ID%&applicationName=android&applicationVersion=%OS_VERSION_INT%&platform=gecko&platformVersion=%MOZ_VERSION%&locale=%LOCALE%"); |
+#else |
pref("app.update.url.android", "https://adblockplus.org/devbuilds/adblockbrowser/updates.xml?addonName=adblockbrowser&addonVersion=%VERSION%.%BUILD_ID%&applicationName=android&applicationVersion=%OS_VERSION_INT%&platform=gecko&platformVersion=%MOZ_VERSION%&locale=%LOCALE%"); |
+#endif |
#ifdef MOZ_UPDATER |
/* prefs used specifically for updating the app */ |