On 4/15/2014 4:10 PM, Ehsan Akhgari wrote:
On 2014-04-15, 3:28 AM, Axel Hecht wrote:
On 4/15/14, 7:58 AM, Fabrice Desré wrote:
Fortunately that's actually simple: we can just use a web activity that
will be provided by the settings or system app, and then do the usual
setting -> gecko pref mapping.

Technical detail, I don't think that would work,
http://mxr.mozilla.org/mozilla-central/source/toolkit/modules/UpdateChannel.jsm#23
only touches the default prefs. From the comment:

I think we may be able to use an override pref similar to app.update.url.override for that purpose if needed. CCing rstrong.

The app.update.url.override pref is for testing and also overrides certificate checking for the update xml web site so if that is used then I wouldn't suggest using that pref.

There are B2G specific prefs already in the app.update.url preference and I would suggest either using one of those or adding a new one if necessary to distinguish the update.
http://mxr.mozilla.org/mozilla-central/source/toolkit/mozapps/update/nsUpdateService.js#3578

Cheers,
Robert
_______________________________________________
dev-b2g mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-b2g

Reply via email to