Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Unified Diff: mobile/android/app/mobile.js

Issue 29325961: Issue 2995 - Use a different update URL in release builds (Closed)
Patch Set: Created Sept. 5, 2015, 8 a.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
« configure.in ('K') | « configure.in ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 */
« configure.in ('K') | « configure.in ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld