Bug 805844: Support update interval configuration via settings in B2G. r=fabrice

--HG--
extra : rebase_source : a235fab66edcbf656212a3010af970989b4fc286
This commit is contained in:
Marshall Culpepper 2012-11-07 16:05:55 -08:00
parent 1cbfb3aa6c
commit e691e2ba6c

View File

@ -229,3 +229,7 @@ SettingsListener.observe('app.reportCrashes', 'ask', function(value) {
}
});
// ================ Updates ================
SettingsListener.observe('app.update.interval', 86400, function(value) {
Services.prefs.setIntPref('app.update.interval', value);
});