Bug 809974: Set the last update installed time for B2G. r=fabrice

This commit is contained in:
Marshall Culpepper 2012-11-27 11:53:17 -06:00
parent e145624da3
commit de9c777dc4

View File

@ -152,7 +152,10 @@ UpdatePrompt.prototype = {
},
showUpdateHistory: function UP_showUpdateHistory(aParent) { },
showUpdateInstalled: function UP_showUpdateInstalled() { },
showUpdateInstalled: function UP_showUpdateInstalled() {
let lock = Services.settings.createLock();
lock.set("deviceinfo.last_updated", Date.now(), null, null);
},
// Custom functions