Closed
Bug 912612
Opened 11 years ago
Closed 11 years ago
Add a timer dedicated to apps update when system updates are disabled.
Categories
(Firefox OS Graveyard :: General, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
1.2 FC (16sep)
People
(Reporter: fabrice, Assigned: fabrice)
References
Details
Attachments
(1 file, 1 obsolete file)
(deleted),
patch
|
etienne
:
review+
vingtetun
:
review+
|
Details | Diff | Splinter Review |
We want to make sure that apps updates are checked daily, but they are currently tied to system update checks. Unfortunately this fails in the following situation: - System updates are disabled because a partner is using its own ota platform. - The default interval is set to something different, like a week.
Assignee | ||
Comment 1•11 years ago
|
||
This patch moves the app updates checks to their own component, and use its own timer if the system update timer is disabled or set to a non-daily interval. I'm currently running end-to-end tests with metrics to make sure we get the pings in various situations.
Attachment #799669 -
Flags: feedback?(21)
Comment 2•11 years ago
|
||
Comment on attachment 799669 [details] [diff] [review] patch v1 Let's see if Etienne wants to review this.
Attachment #799669 -
Flags: feedback?(21) → feedback?(etienne)
Assignee | ||
Comment 3•11 years ago
|
||
Logs check with metrics look good. This is a cleaned up version of the previous patch.
Attachment #799669 -
Attachment is obsolete: true
Attachment #799669 -
Flags: feedback?(etienne)
Attachment #801057 -
Flags: review?(etienne)
Comment 4•11 years ago
|
||
Comment on attachment 801057 [details] [diff] [review] patch v2 Review of attachment 801057 [details] [diff] [review]: ----------------------------------------------------------------- All good and completely transparent to gaia. Picked up a few things along the way :) ::: b2g/components/B2GComponents.manifest @@ +77,5 @@ > + > +# WebappsUpdateTimer.js > +component {637b0f77-2429-49a0-915f-abf5d0db8b9a} WebappsUpdateTimer.js > +contract @mozilla.org/b2g/webapps-update-timer;1 {637b0f77-2429-49a0-915f-abf5d0db8b9a} > +category update-timer WebappsUpdateTimer @mozilla.org/b2g/webapps-update-timer;1,getService,background-update-timer,webapps.update.interval,86400 this is cool.
Attachment #801057 -
Flags: review?(etienne) → review+
Comment 5•11 years ago
|
||
Comment on attachment 801057 [details] [diff] [review] patch v2 rubberstamp r+
Attachment #801057 -
Flags: review+
Comment 7•11 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/564f0718eefe
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → 1.2 FC (16sep)
You need to log in
before you can comment on or make changes to this bug.
Description
•