From ee70e91da5a64b78395b03e5e972b1b79c58cc5b Mon Sep 17 00:00:00 2001 From: Chris Jones Date: Wed, 21 Mar 2012 15:50:53 -0700 Subject: [PATCH] Bug 737368, part 4: Enable updater in b2g prefs. r=fabrice --- b2g/app/b2g.js | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/b2g/app/b2g.js b/b2g/app/b2g.js index 298c8c2cf2d..ec15b189121 100644 --- a/b2g/app/b2g.js +++ b/b2g/app/b2g.js @@ -454,3 +454,24 @@ pref("ril.data.roaming.enabled", false); pref("ril.data.apn", ""); pref("ril.data.user", ""); pref("ril.data.passwd", ""); + +#ifdef MOZ_UPDATER +pref("app.update.enabled", true); +pref("app.update.auto", true); +pref("app.update.silent", true); +pref("app.update.mode", 0); +pref("app.update.incompatible.mode", 0); +pref("app.update.service.enabled", true); + +// The URL hosting the update manifest. +//pref("app.update.url", "http://localhost/updates.xml"); +// Interval at which update manifest is fetched. In units of seconds. +pref("app.update.interval", 86400); // 24 hours +// First interval to elapse before checking for update. In units of +// milliseconds. Capped at 10 seconds. +pref("app.update.timerFirstInterval", 30000); + +// Enable update logging for now, to diagnose growing pains in the +// field. +pref("app.update.log", true); +#endif